Commit 9e75fd9
Add nested paren table ref handling and VariableTableReference alias marshaling
- Handle nested parentheses in FROM clause that contain derived tables with
aliases and JOINs (e.g., ((SELECT ...) AS t10 INNER JOIN ...))
- Add Alias field marshaling for VariableTableReference in tableReferenceToJSON
- Add support for bracketed identifiers as aliases for VariableTableReference
- Enables BaselinesCommon_FromClauseTests
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 0081e36 commit 9e75fd9
4 files changed
Lines changed: 560 additions & 10 deletions
File tree
- ast
- parser
- testdata/BaselinesCommon_FromClauseTests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2785 | 2785 | | |
2786 | 2786 | | |
2787 | 2787 | | |
| 2788 | + | |
| 2789 | + | |
| 2790 | + | |
| 2791 | + | |
| 2792 | + | |
| 2793 | + | |
| 2794 | + | |
| 2795 | + | |
2788 | 2796 | | |
2789 | 2797 | | |
2790 | 2798 | | |
2791 | 2799 | | |
2792 | 2800 | | |
2793 | 2801 | | |
2794 | 2802 | | |
| 2803 | + | |
| 2804 | + | |
| 2805 | + | |
2795 | 2806 | | |
2796 | 2807 | | |
2797 | 2808 | | |
| |||
0 commit comments