Commit 294c76b
Fix REPLACE transformer consuming comma from SELECT clause
When parsing `SELECT * REPLACE expr AS name, other_col` without parentheses,
the REPLACE parser was consuming the comma before breaking, preventing the
caller from seeing there's another select item. Now the comma is only consumed
when inside parentheses.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent e99acd5 commit 294c76b
File tree
2 files changed
+4
-7
lines changed- parser
- testdata/02378_analyzer_projection_names
2 files changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3019 | 3019 | | |
3020 | 3020 | | |
3021 | 3021 | | |
3022 | | - | |
3023 | | - | |
| 3022 | + | |
| 3023 | + | |
3024 | 3024 | | |
3025 | 3025 | | |
3026 | 3026 | | |
| 3027 | + | |
3027 | 3028 | | |
3028 | 3029 | | |
3029 | 3030 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
0 commit comments