Skip to content

Fix ALTER MODIFY COLUMN with statistics - #97041

Merged
alexey-milovidov merged 3 commits into
ClickHouse:masterfrom
CurtizJ:fix-statistics-modify
Feb 16, 2026
Merged

alexey-milovidov merged 3 commits into
ClickHouse:masterfrom
CurtizJ:fix-statistics-modify

Conversation

@CurtizJ

@CurtizJ CurtizJ commented Feb 15, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Bug fix for unreleased feature.

Version info

  • Merged into: 26.2.1.772

@clickhouse-gh

clickhouse-gh Bot commented Feb 15, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [36a950e]

Summary: ❌

job_name test_name status info comment
Integration tests (amd_msan, 2/6) failure
test_storage_delta/test.py::test_single_log_file[1-s3] FAIL cidb
test_storage_delta/test.py::test_single_log_file[0-s3] FAIL cidb
test_storage_delta/test.py::test_single_log_file[0-azure] FAIL cidb
test_storage_delta/test.py::test_single_log_file[1-local] FAIL cidb
test_storage_delta/test.py::test_partition_by[1-s3] FAIL cidb
test_storage_delta/test.py::test_partition_by[0-s3] FAIL cidb
test_storage_delta/test.py::test_partition_by[0-azure] FAIL cidb
test_storage_delta/test.py::test_partition_by[1-local] FAIL cidb
test_storage_delta/test.py::test_checkpoint[1-s3] FAIL cidb
test_storage_delta/test.py::test_checkpoint[0-s3] FAIL cidb
65 more test cases not shown
Integration tests (amd_msan, 3/6) failure
test_storage_azure_blob_storage/test.py::test_create_new_files_on_insert FAIL cidb
test_storage_azure_blob_storage/test.py::test_overwrite FAIL cidb
test_storage_azure_blob_storage/test.py::test_insert_with_path_with_globs FAIL cidb
test_storage_azure_blob_storage/test.py::test_put_get_with_globs FAIL cidb
test_storage_azure_blob_storage/test.py::test_azure_glob_scheherazade FAIL cidb
test_storage_azure_blob_storage/test.py::test_storage_azure_get_gzip[bin] FAIL cidb
test_storage_azure_blob_storage/test.py::test_storage_azure_get_gzip[gz] FAIL cidb
test_storage_azure_blob_storage/test.py::test_schema_inference_no_globs FAIL cidb
test_storage_azure_blob_storage/test.py::test_schema_inference_from_globs FAIL cidb
test_storage_azure_blob_storage/test.py::test_simple_write_account_string_table_function FAIL cidb
91 more test cases not shown
Integration tests (amd_msan, 4/6) failure
test_storage_iceberg_with_spark/test_writes_create_partitioned_table.py::test_writes_create_partitioned_table[y-azure-1] FAIL cidb
test_storage_iceberg_with_spark/test_writes_create_partitioned_table.py::test_writes_create_partitioned_table[y-azure-2] FAIL cidb
test_storage_iceberg_with_spark/test_writes_create_partitioned_table.py::test_writes_create_partitioned_table[y-local-1] FAIL cidb
test_storage_iceberg_with_spark/test_writes_create_partitioned_table.py::test_writes_create_partitioned_table[y-local-2] FAIL cidb
test_storage_iceberg_with_spark/test_writes_create_partitioned_table.py::test_writes_create_partitioned_table[identity(y)-s3-1] FAIL cidb
test_storage_iceberg_with_spark/test_writes_create_partitioned_table.py::test_writes_create_partitioned_table[identity(y)-s3-2] FAIL cidb
test_storage_iceberg_with_spark/test_writes_create_partitioned_table.py::test_writes_create_partitioned_table[identity(y)-azure-1] FAIL cidb
test_storage_iceberg_with_spark/test_writes_create_partitioned_table.py::test_writes_create_partitioned_table[identity(y)-azure-2] FAIL cidb
test_storage_iceberg_with_spark/test_writes_create_partitioned_table.py::test_writes_create_partitioned_table[identity(y)-local-1] FAIL cidb
test_storage_iceberg_with_spark/test_writes_create_partitioned_table.py::test_writes_create_partitioned_table[identity(y)-local-2] FAIL cidb
281 more test cases not shown
Integration tests (amd_msan, 5/6) failure
test_ssh/test.py::test_simple_query_with_openssh_client FAIL cidb
test_ssh/test.py::test_no_queries_from_file FAIL cidb
test_ssh/test.py::test_no_selects_into_outfile FAIL cidb, issue
test_ssh/test.py::test_no_inserts_from_infile FAIL cidb
test_ssh/test.py::test_create_table FAIL cidb
test_ssh/test.py::test_simple_query_with_paramiko FAIL cidb
test_ssh/test.py::test_paramiko_password FAIL cidb
test_ssh/test_options_propagation_enabled.py::test_options_and_settings_propagation FAIL cidb
test_ssh/test_options_propagation_enabled.py::test_no_server_logs_file FAIL cidb, issue
Integration tests (amd_msan, 6/6) failure
test_checking_s3_blobs_paranoid/test.py::test_when_s3_timeout_at_listing FAIL cidb
test_storage_delta_disks/test.py::test_single_log_file[1-s3] FAIL cidb
test_storage_delta_disks/test.py::test_single_log_file[0-s3] FAIL cidb
test_storage_delta_disks/test.py::test_single_log_file[1-local] FAIL cidb
test_storage_delta_disks/test.py::test_single_log_file[0-azure] FAIL cidb

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Feb 15, 2026
@CurtizJ
CurtizJ force-pushed the fix-statistics-modify branch from cb06edd to 30e366a Compare February 15, 2026 22:46
@alexey-milovidov alexey-milovidov self-assigned this Feb 15, 2026
@alexey-milovidov
alexey-milovidov merged commit a77a152 into ClickHouse:master Feb 16, 2026
138 of 143 checks passed
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Feb 16, 2026
@azat

azat commented Feb 17, 2026 •

Copy link
Copy Markdown
Member

This has been merged too early, new test fails in private, because of packed parts.

Sure we can disable packed parts in tests, but why it does not work?

Anyway for now I've queued a revert - #97169, feel free to close it if the fix will be ready

create table t_stat_nullable_1(A Int64, B String, C String)
Engine = ReplicatedMergeTree('/clickhouse/{database}/tables/t_stat_nullable', '1')
order by A
SETTINGS min_bytes_for_wide_part = 0, auto_statistics_types = 'uniq';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why it does not work for compact parts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants