Disallow Gorilla codec on non-float columns#45252
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
c886123 to
2cb6371
Compare
2cb6371 to
5d3f0ec
Compare
This comment was marked as outdated.
This comment was marked as outdated.
|
BTW, the issue is because of the combination of codecs Delta+Gorilla -- should be forbidden as suspicious create table bug_gor_lz ( value_bug Float64 codec (Delta, Gorilla, LZ4)
) engine = MergeTree order by tuple() as select 0 from numbers(1e7);
select * from bug_gor_lz where 0.0 <> value_bug limit 10;
┌────────────────value_bug─┐
│ 4.927549738046179e180 │
│ -1.154350463386742e-65 │
│ 8.526606562949742e-194 │
│ -1.2810555172165677e-249 │
│ -1.0439411844753269e307 │
│ 1.5110172119519233e241 │
│ -2.5236826111584395e175 │
│ 6.628092400109508e37 │
│ 6.628556554427993e37 │
│ 6.628556558479204e37 │
└──────────────────────────┘ |
True, thanks. Will check/block this combination too but separately (--> #45277). This PR makes sense in itself. |
|
ClickHouse Integration Tests (tsan) [6/6]
Various ClickHouse Stress Test failures, e.g. I think the system tries to start the old server from a persistence created by an new server (specifically, the stress test). So a failure is expected here (--> backward incompatible change). |
|
@rschu1ze, Stress Tests failures were related. Stress Tests are broken in master now. Let's revert the breaking change. |
|
It should be possible to suppress BC check for intended backward incompatible changes. For example, we can use a ClickHouse/docker/test/stress/run.sh Lines 466 to 472 in 703f223 |
|
Okay, thanks. Didn't think about suppressing the change. Will pick this this up again hopefully soon. |
Cf. #45195
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Disallow Gorilla compression on columns of non-Float32 or non-Float64 type.
Documentation entry for user-facing changes