Commit 8470f41
committed
Fix ALTER ADD INDEX tuple expression parsing
Simplified the index expression parsing in ALTER ADD INDEX to let
parseExpression handle parentheses naturally. This allows tuple
expressions like (a, b, c) to be parsed correctly, matching how
CREATE TABLE INDEX parsing works.1 parent e059896 commit 8470f41
File tree
4 files changed
+6
-24
lines changed- parser
- testdata
- 01114_materialize_clear_index_compact_parts
- 02710_allow_suspicious_indices
- 02763_mutate_compact_part_with_skip_indices_and_projections
4 files changed
+6
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5267 | 5267 | | |
5268 | 5268 | | |
5269 | 5269 | | |
5270 | | - | |
5271 | | - | |
5272 | | - | |
| 5270 | + | |
| 5271 | + | |
| 5272 | + | |
5273 | 5273 | | |
5274 | 5274 | | |
5275 | | - | |
5276 | | - | |
5277 | | - | |
5278 | | - | |
5279 | | - | |
5280 | 5275 | | |
5281 | 5276 | | |
5282 | 5277 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
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