summaryrefslogtreecommitdiff
path: root/test/sql/test_selectable.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sql/test_selectable.py')
-rw-r--r--test/sql/test_selectable.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/sql/test_selectable.py b/test/sql/test_selectable.py
index be894d239..cfdf4ad02 100644
--- a/test/sql/test_selectable.py
+++ b/test/sql/test_selectable.py
@@ -998,9 +998,11 @@ class SelectableTest(
self.assert_compile(
stmt,
"SELECT anon_1.col1, anon_1.col2, anon_1.col1_1 FROM "
- "((SELECT table1.col1, table1.col2, table2.col1 AS col1_1 "
+ "((SELECT table1.col1 AS col1, table1.col2 AS col2, table2.col1 "
+ "AS col1_1 "
"FROM table1, table2 LIMIT :param_1) UNION "
- "(SELECT table2.col1, table2.col2, table2.col3 FROM table2 "
+ "(SELECT table2.col1 AS col1, table2.col2 AS col2, "
+ "table2.col3 AS col3 FROM table2 "
"LIMIT :param_2)) AS anon_1",
)