We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it's not possible to downgrade to any version before 23.5
apt-get install clickhouse-server=23.8.3.48 clickhouse-client=23.8.3.48 clickhouse-common-static=23.8.3.48 /etc/init.d/clickhouse-server restart create table test(event_date Date, event_time DateTime, exception String) ENGINE = MergeTree PARTITION BY toYYYYMM(event_date) ORDER BY (event_date, event_time); insert into test(event_date) select today() from numbers(10); select * from test; ┌─event_date─┬──────────event_time─┬─exception─┐ │ 2023-09-29 │ 1970-01-01 00:00:00 │ │ │ 2023-09-29 │ 1970-01-01 00:00:00 │ │ │ 2023-09-29 │ 1970-01-01 00:00:00 │ │ │ 2023-09-29 │ 1970-01-01 00:00:00 │ │ │ 2023-09-29 │ 1970-01-01 00:00:00 │ │ │ 2023-09-29 │ 1970-01-01 00:00:00 │ │ │ 2023-09-29 │ 1970-01-01 00:00:00 │ │ │ 2023-09-29 │ 1970-01-01 00:00:00 │ │ │ 2023-09-29 │ 1970-01-01 00:00:00 │ │ │ 2023-09-29 │ 1970-01-01 00:00:00 │ │ └────────────┴─────────────────────┴───────────┘ apt-get install clickhouse-server=23.4.6.25 clickhouse-client=23.4.6.25 clickhouse-common-static=23.4.6.25 /etc/init.d/clickhouse-server restart select * from test; Received exception from server (version 23.4.6): Code: 33. DB::Exception: Received from localhost:9000. DB::Exception: Cannot read all data in MergeTreeReaderCompact. Rows read: 4. Rows expected: 10.: (while reading column event_time): While executing MergeTreeInOrder. (CANNOT_READ_ALL_DATA) select exception from test; Received exception from server (version 23.4.6): Code: 131. DB::Exception: Received from localhost:9000. DB::Exception: Too large string size: 4611686018427387914. The maximum is: 17179869184.: (while reading column exception): While executing MergeTreeInOrder. (TOO_LARGE_STRING_SIZE)
no issue if ratio_of_defaults_for_sparse_serialization = 1
ratio_of_defaults_for_sparse_serialization = 1
23.8.3.48
CREATE TABLE test ( `event_date` Date, `event_time` DateTime, `exception` String ) ENGINE = MergeTree PARTITION BY toYYYYMM(event_date) ORDER BY (event_date, event_time) SETTINGS ratio_of_defaults_for_sparse_serialization = 1
But it does not fix (not a workaround) for 23.4.
The text was updated successfully, but these errors were encountered:
cc @CurtizJ
Sorry, something went wrong.
Actually the solution for a downgrade is to set after the downgrade
cat /etc/clickhouse-server/config.d/config_substitutes.xml <?xml version="1.0"?> <clickhouse> <merge_tree> <ratio_of_defaults_for_sparse_serialization>0.9375</ratio_of_defaults_for_sparse_serialization> </merge_tree> </clickhouse>
#49660
Successfully merging a pull request may close this issue.
it's not possible to downgrade to any version before 23.5
no issue if
ratio_of_defaults_for_sparse_serialization = 1
23.8.3.48
But it does not fix (not a workaround) for 23.4.
The text was updated successfully, but these errors were encountered: