Commit 21156b7
Fix nested parenthesized query expression parsing
Handle cases where derived tables contain nested query expressions
with UNION/EXCEPT/INTERSECT, such as:
SELECT * FROM ((SELECT ...) UNION ALL SELECT ...) AS C;
Enables: BaselinesCommon_QueryExpressionTests, QueryExpressionTests
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 9da649c commit 21156b7
File tree
3 files changed
+5
-4
lines changed- parser
- testdata
- BaselinesCommon_QueryExpressionTests
- QueryExpressionTests
3 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2545 | 2545 | | |
2546 | 2546 | | |
2547 | 2547 | | |
2548 | | - | |
2549 | | - | |
| 2548 | + | |
| 2549 | + | |
| 2550 | + | |
2550 | 2551 | | |
2551 | 2552 | | |
2552 | 2553 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments