Don't delete default rows in coalescing merge tree#83892
Don't delete default rows in coalescing merge tree#83892scanhex12 merged 12 commits intoClickHouse:masterfrom
Conversation
|
For SummingMergeTree it was kinda intended and expected behavior, not sure that we should change it in such way. |
|
@scanhex12 what about this https://fiddle.clickhouse.com/16be1755-560e-44f0-be6f-9220bad086f5 |
|
Also the documentation is very vague about requirements of Nullable columns and about a behaviour without Nullable types. Examples are misleading I would expect different results: |
|
I think that the results should be consistent with the (with the difference that the latest is used instead of the leftmost) |
|
The behavior is different depending on whether the data is inserted in a single batch or not: https://pastila.nl/?02fba128/cc7bbde5979bde7d70370afe6644caf3#oD+cHhOAh/vr4virt1xzHg== |
|
One more example. https://fiddle.clickhouse.com/3a33d254-c620-4401-acbf-a246cdcc4949 |
|
May I know when this fix will be released? |
|
@timxian @jkartseva @den-crane I added all your cases and updated the documentation, now everything should work. Please check. |
|
@scanhex12 I'll add a backport for this bug-fix so that it can be fixed in |
Cherry pick #83892 to 25.7: Don't delete default rows in coalescing merge tree
Backport #83892 to 25.7: Don't delete default rows in coalescing merge tree
Cherry pick #83892 to 25.6: Don't delete default rows in coalescing merge tree
Backport #83892 to 25.6: Don't delete default rows in coalescing merge tree
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
This closes #81303
Documentation entry for user-facing changes