Skip to content

Add column statistics for table system.columns#89086

Merged
hanfei1991 merged 3 commits intomasterfrom
hanfei/system_columns_stats
Oct 28, 2025
Merged

Add column statistics for table system.columns#89086
hanfei1991 merged 3 commits intomasterfrom
hanfei/system_columns_stats

Conversation

@hanfei1991
Copy link
Copy Markdown
Member

@hanfei1991 hanfei1991 commented Oct 27, 2025

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Add a new column statistics in system.columns, indicating the types of statistics built on this table. If a type of statistics is automatically created, it will show as (auto) in the suffix.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Oct 27, 2025

Workflow [PR], commit [e86c34c]

Summary:

job_name test_name status info comment
Integration tests (amd_binary, 2/5) failure
test_merge_tree_s3/test.py::test_merge_canceled_by_s3_errors[node-broken_s3] FAIL cidb

@clickhouse-gh clickhouse-gh bot added the pr-improvement Pull request with some product improvements label Oct 27, 2025
@hanfei1991
Copy link
Copy Markdown
Member Author

flaky test #87560

@hanfei1991 hanfei1991 added this pull request to the merge queue Oct 28, 2025
Merged via the queue into master with commit 3b59ac3 Oct 28, 2025
122 of 124 checks passed
@hanfei1991 hanfei1991 deleted the hanfei/system_columns_stats branch October 28, 2025 12:18
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 28, 2025
@fm4v
Copy link
Copy Markdown
Member

fm4v commented Nov 3, 2025

@hanfei1991 tests are missing:

  • 1 column with statistic
  • 2 column with statistic
  • 1 column with 2 statistic types
  • auto statistic

@rschu1ze
Copy link
Copy Markdown
Member

@hanfei1991
Copy link
Copy Markdown
Member Author

@fm4v @rschu1ze thank you, I will add tests

@rschu1ze rschu1ze changed the title add column statistics for table system.columns Add column statistics for table system.columns Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-improvement Pull request with some product improvements 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.

5 participants