Commit 1b7808a
committed
Handle ATTACH PARTITION ... FROM as REPLACE_PARTITION in EXPLAIN
Parse the FROM clause in ALTER TABLE ATTACH PARTITION statements
and show it as REPLACE_PARTITION in EXPLAIN AST output to match
ClickHouse's behavior.
Fixes multiple tests across several test files.1 parent 26617b8 commit 1b7808a
8 files changed
Lines changed: 17 additions & 28 deletions
File tree
- internal/explain
- parser
- testdata
- 00626_replace_partition_from_table
- 01055_compact_parts_1
- 01710_minmax_count_projection
- 01901_test_attach_partition_from
- 02731_replace_partition_from_temporary_table
- 02998_projection_after_attach_partition
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1620 | 1620 | | |
1621 | 1621 | | |
1622 | 1622 | | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
1623 | 1627 | | |
1624 | 1628 | | |
1625 | 1629 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5817 | 5817 | | |
5818 | 5818 | | |
5819 | 5819 | | |
| 5820 | + | |
| 5821 | + | |
| 5822 | + | |
| 5823 | + | |
| 5824 | + | |
| 5825 | + | |
| 5826 | + | |
| 5827 | + | |
5820 | 5828 | | |
5821 | 5829 | | |
5822 | 5830 | | |
| |||
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
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