Commit 86fcd89
committed
Preserve constant index granularity (use_const_adaptive_granularity) after Vertical merges
The problem was that just before creating index granularity the
blocks_are_granules_size has been set to true in case of vertical
merges, and this forces to use adaptive granulas
But, we do not need this, since it is written before vertical merges
anyway, vertical merges does not calculate index granularity1 parent 2359d6c commit 86fcd89
File tree
3 files changed
+43
-3
lines changed- src/Storages/MergeTree
- tests/queries/0_stateless
3 files changed
+43
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2446 | 2446 | | |
2447 | 2447 | | |
2448 | 2448 | | |
2449 | | - | |
2450 | | - | |
2451 | 2449 | | |
2452 | 2450 | | |
2453 | 2451 | | |
| |||
2469 | 2467 | | |
2470 | 2468 | | |
2471 | 2469 | | |
2472 | | - | |
| 2470 | + | |
2473 | 2471 | | |
2474 | 2472 | | |
2475 | 2473 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments