Skip to content

Add Rewrite rules#88234

Open
hinata34 wants to merge 2 commits intoClickHouse:masterfrom
hinata34:add-rewrite-rules
Open

Add Rewrite rules#88234
hinata34 wants to merge 2 commits intoClickHouse:masterfrom
hinata34:add-rewrite-rules

Conversation

@hinata34
Copy link
Copy Markdown

@hinata34 hinata34 commented Oct 8, 2025

Changelog category (leave one):

  • New Feature

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

Add support for defining custom query rewrite rules. Closes #80084.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Oct 8, 2025

CLA assistant check
All committers have signed the CLA.

@hinata34 hinata34 changed the title Rewrite rules init commit Add Rewrite rules Oct 8, 2025
@alexey-milovidov alexey-milovidov added the can be tested Allows running workflows for external contributors label Oct 8, 2025
@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Oct 8, 2025

Workflow [PR], commit [3567d5c]

Summary:
15 failures out of 17 shown:

job_name test_name status info comment
Docs check failure
Run markdown linter failure
Build docusaurus failure
Stateless tests (amd_ubsan, parallel) failure
02177_issue_31009 FAIL
Integration tests (amd_asan, old analyzer, 1/6) failure
test_allow_feature_tier/test.py::test_allow_feature_tier_in_general_settings FAIL
test_allow_feature_tier/test.py::test_allow_feature_tier_in_mergetree_settings FAIL
test_allow_feature_tier/test.py::test_allow_feature_tier_in_mergetree_settings_with_old_compatibility FAIL
test_allow_feature_tier/test.py::test_allow_feature_tier_in_user FAIL
test_allow_feature_tier/test.py::test_it_is_possible_to_enable_experimental_settings_in_default_profile FAIL
Integration tests (amd_asan, old analyzer, 3/6) failure
test_backward_compatibility/test_vertical_merges_from_compact_parts.py::test_vertical_merges_from_compact_parts FAIL
Integration tests (amd_asan, old analyzer, 4/6) failure
test_backup_restore_on_cluster/test_different_versions.py::test_different_versions FAIL
Integration tests (amd_asan, old analyzer, 6/6) failure
test_compatibility_merge_tree_settings/test.py::test_check_projections_compatibility FAIL
test_compatibility_merge_tree_settings/test.py::test_config_overrides_compatibility FAIL
Integration tests (amd_binary, 1/5) failure
test_storage_s3_queue/test_5.py::test_upgrade_3 FAIL
test_storage_s3_queue/test_5.py::test_migration[3-] FAIL
test_storage_s3_queue/test_5.py::test_migration[3-s3queue_] FAIL
test_storage_s3_queue/test_5.py::test_migration[1-] FAIL
test_storage_s3_queue/test_5.py::test_migration[1-s3queue_] FAIL
Integration tests (amd_binary, 2/5) failure
test_compatibility_merge_tree_settings/test.py::test_check_projections_compatibility FAIL
test_compatibility_merge_tree_settings/test.py::test_config_overrides_compatibility FAIL
Integration tests (amd_binary, 3/5) failure
test_backward_compatibility/test_vertical_merges_from_compact_parts.py::test_vertical_merges_from_compact_parts FAIL
Integration tests (amd_binary, 5/5) failure
test_allow_feature_tier/test.py::test_allow_feature_tier_in_general_settings FAIL
test_allow_feature_tier/test.py::test_allow_feature_tier_in_mergetree_settings FAIL
test_allow_feature_tier/test.py::test_allow_feature_tier_in_mergetree_settings_with_old_compatibility FAIL
test_allow_feature_tier/test.py::test_allow_feature_tier_in_user FAIL
test_allow_feature_tier/test.py::test_it_is_possible_to_enable_experimental_settings_in_default_profile FAIL
test_backup_restore_on_cluster/test_different_versions.py::test_different_versions FAIL
Integration tests (arm_binary, distributed plan, 1/4) failure
test_compatibility_merge_tree_settings/test.py::test_check_projections_compatibility FAIL
test_compatibility_merge_tree_settings/test.py::test_config_overrides_compatibility FAIL
test_storage_s3_queue/test_5.py::test_upgrade_3 FAIL
test_storage_s3_queue/test_5.py::test_migration[3-] FAIL
test_storage_s3_queue/test_5.py::test_migration[3-s3queue_] FAIL
test_storage_s3_queue/test_5.py::test_migration[1-] FAIL
test_storage_s3_queue/test_5.py::test_migration[1-s3queue_] FAIL
Integration tests (arm_binary, distributed plan, 3/4) failure
test_allow_feature_tier/test.py::test_allow_feature_tier_in_general_settings FAIL
test_allow_feature_tier/test.py::test_allow_feature_tier_in_mergetree_settings FAIL
test_allow_feature_tier/test.py::test_allow_feature_tier_in_mergetree_settings_with_old_compatibility FAIL
test_allow_feature_tier/test.py::test_allow_feature_tier_in_user FAIL
test_allow_feature_tier/test.py::test_it_is_possible_to_enable_experimental_settings_in_default_profile FAIL
test_backward_compatibility/test_vertical_merges_from_compact_parts.py::test_vertical_merges_from_compact_parts FAIL
test_backup_restore_on_cluster/test_different_versions.py::test_different_versions FAIL
Integration tests (amd_tsan, 1/6) failure
test_allow_feature_tier/test.py::test_allow_feature_tier_in_general_settings FAIL
test_allow_feature_tier/test.py::test_allow_feature_tier_in_mergetree_settings FAIL
test_allow_feature_tier/test.py::test_allow_feature_tier_in_mergetree_settings_with_old_compatibility FAIL
test_allow_feature_tier/test.py::test_allow_feature_tier_in_user FAIL
test_allow_feature_tier/test.py::test_it_is_possible_to_enable_experimental_settings_in_default_profile FAIL
Integration tests (amd_tsan, 3/6) failure
test_backward_compatibility/test_vertical_merges_from_compact_parts.py::test_vertical_merges_from_compact_parts FAIL
Integration tests (amd_tsan, 4/6) failure
test_backup_restore_on_cluster/test_different_versions.py::test_different_versions FAIL

@clickhouse-gh clickhouse-gh bot added the pr-feature Pull request with new product feature label Oct 9, 2025
@hinata34 hinata34 force-pushed the add-rewrite-rules branch 9 times, most recently from 50278c0 to ea6336c Compare October 11, 2025 08:47
@nikitamikhaylov nikitamikhaylov self-assigned this Jan 11, 2026
alexey-milovidov added a commit that referenced this pull request Mar 31, 2026
Add explicit heading IDs to all headings, add language specifiers (`sql`,
`xml`) to all fenced code blocks, and wrap bare curly-brace expressions
in prose (e.g. `{name:String, rule:String}`) in inline code blocks to
prevent Docusaurus from treating them as JSX expressions.

Fixes docs CI check failures for PR #88234.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors pr-feature Pull request with new product feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Query rewrite rules (RFC)

4 participants