Commit 75af8d1
Fix SETTINGS clause parsing after MODIFY COLUMN REMOVE
When parsing MODIFY COLUMN REMOVE, stop at SETTINGS keyword so that
the statement-level SETTINGS clause is properly parsed.
Also handle IF EXISTS in ALTER DROP INDEX.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent bcc22f3 commit 75af8d1
2 files changed
Lines changed: 12 additions & 8 deletions
File tree
- parser
- testdata/03230_alter_with_mixed_mutations_and_remove_materialized
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5475 | 5475 | | |
5476 | 5476 | | |
5477 | 5477 | | |
5478 | | - | |
| 5478 | + | |
| 5479 | + | |
| 5480 | + | |
| 5481 | + | |
| 5482 | + | |
| 5483 | + | |
| 5484 | + | |
| 5485 | + | |
| 5486 | + | |
5479 | 5487 | | |
5480 | 5488 | | |
5481 | 5489 | | |
| |||
5724 | 5732 | | |
5725 | 5733 | | |
5726 | 5734 | | |
5727 | | - | |
5728 | | - | |
| 5735 | + | |
| 5736 | + | |
5729 | 5737 | | |
5730 | 5738 | | |
5731 | 5739 | | |
| |||
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