Skip to content

Support select and explain for UNION queries #1972

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Document integration test for postgres union select explain test.
  • Loading branch information
tim-schilling authored Jul 26, 2024
commit b35eb4f0ed44a2468c0a6a3c67b6f4ac07a9d939
5 changes: 4 additions & 1 deletion tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,10 @@ def test_sql_explain_checks_show_toolbar(self):
@unittest.skipUnless(
connection.vendor == "postgresql", "Test valid only on PostgreSQL"
)
def test_sql_explain_union_query(self):
def test_sql_explain_postgres_union_query(self):
"""
Confirm select queries that start with a parenthesis can be explained.
"""
url = "/__debug__/sql_explain/"
data = {
"signed": SignedDataForm.sign(
Expand Down