Commit 35d1e5f
Handle FROM (SELECT...) as clause keyword after trailing comma
When parsing column list with trailing comma, recognize FROM (SELECT...)
and FROM (WITH...) as FROM clause with subquery, not as a function call.
This fixes parsing of queries like:
SELECT x, count(), FROM (SELECT ...)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent c370f54 commit 35d1e5f
File tree
3 files changed
+11
-11
lines changed- parser
- testdata
- 03151_external_cross_join
- 03262_filter_push_down_view
3 files changed
+11
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
188 | 189 | | |
189 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
190 | 198 | | |
191 | 199 | | |
192 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
0 commit comments