From 9f659661936238deaba6d8fca29cca525e139ebd Mon Sep 17 00:00:00 2001 From: Claude Code Date: Thu, 14 May 2026 19:40:46 -0700 Subject: [PATCH] test(sql-parser): use UNION ALL in oracle-specific repro per bot review Co-Authored-By: Claude Sonnet 4.6 --- tests/unit_tests/sql/parse_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests/sql/parse_tests.py b/tests/unit_tests/sql/parse_tests.py index 4c748329972..61dca68e997 100644 --- a/tests/unit_tests/sql/parse_tests.py +++ b/tests/unit_tests/sql/parse_tests.py @@ -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 """