mirror of
https://github.com/apache/superset.git
synced 2026-05-27 10:45:14 +00:00
test(sql-parser): use UNION ALL in oracle-specific repro per bot review
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1202,7 +1202,7 @@ def test_with_clause_containing_union_all_is_not_mutating_oracle() -> None:
|
||||
a generic ``SELECT 1`` test might miss.
|
||||
"""
|
||||
sql = """
|
||||
WITH SET1 AS (SELECT SYSDATE FROM DUAL UNION SELECT SYSDATE FROM DUAL),
|
||||
WITH SET1 AS (SELECT SYSDATE FROM DUAL UNION ALL SELECT SYSDATE FROM DUAL),
|
||||
SET2 AS (SELECT * FROM SET1)
|
||||
SELECT * FROM SET2
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user