Commit 03c44b0
Fix column declaration child order in EXPLAIN output
Reorder column declaration children to match ClickHouse's EXPLAIN AST:
1. Type
2. Settings (SETTINGS clause)
3. Default value
4. TTL
5. Codec
6. Statistics
7. Comment
Previously Settings was output after TTL and Statistics, but ClickHouse
outputs it right after the type.
Fixes test: 03270_fix_column_modifier_write_order/stmt3
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 619c89d commit 03c44b0
2 files changed
Lines changed: 6 additions & 9 deletions
File tree
- internal/explain
- parser/testdata/03270_fix_column_modifier_write_order
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
361 | | - | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
362 | 363 | | |
363 | 364 | | |
364 | 365 | | |
| |||
372 | 373 | | |
373 | 374 | | |
374 | 375 | | |
375 | | - | |
376 | | - | |
| 376 | + | |
| 377 | + | |
377 | 378 | | |
378 | 379 | | |
379 | 380 | | |
| |||
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