Commit 3a8edc0
committed
fix: handle old shards with extra columns during reassemble
When schema removes columns (summary_format_version, old_summary),
old shards still have them. _migrate_shard_schema now also DROPs
columns from the shard that main no longer has, so INSERT ... SELECT *
doesn't fail with column-count mismatch.1 parent 817270f commit 3a8edc0
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| 562 | + | |
562 | 563 | | |
563 | 564 | | |
564 | 565 | | |
565 | 566 | | |
566 | 567 | | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
567 | 573 | | |
568 | 574 | | |
569 | 575 | | |
| |||
0 commit comments