Projection Index Step 2: Enable multi-projection part filtering and improve projection introspection#80343
Merged
KochetovNicolai merged 16 commits intoClickHouse:masterfrom Jun 6, 2025
Conversation
Contributor
888d214 to
b828808
Compare
Collaborator
Author
|
Collaborator
Author
|
src/Processors/QueryPlan/Optimizations/optimizeUseAggregateProjection.cpp
Outdated
Show resolved
Hide resolved
tests/queries/0_stateless/03460_projection_part_filtering_and_introspection.reference
Outdated
Show resolved
Hide resolved
KochetovNicolai
approved these changes
May 23, 2025
2c59d89 to
86de4ef
Compare
Collaborator
Author
02458_insert_select_progress_tcp timeout error. unrelated
|
86de4ef to
b3cdbfa
Compare
1 task
…ection - Support using multiple projections for part-level filtering - Add introspection of projection analysis: which projections are used and how - Enable PREWHERE support within projections - Enable query condition caching for projections
baibaichen
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jun 27, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
baibaichen
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jun 28, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
baibaichen
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jun 29, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jun 29, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
baibaichen
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 3, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
baibaichen
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 4, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
baibaichen
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 5, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 6, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
baibaichen
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 7, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 7, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 8, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 9, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 10, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 11, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
baibaichen
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 14, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 14, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 15, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
baibaichen
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 18, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
baibaichen
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 18, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
baibaichen
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 20, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 20, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 21, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
baibaichen
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 28, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
baibaichen
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 29, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 29, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 30, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Jul 31, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Aug 1, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Aug 2, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
kyligence-git
pushed a commit
to Kyligence/ClickHouse
that referenced
this pull request
Aug 3, 2025
(cherry picked from commit d3f342a) Fix rebase issue: - 20250607 ClickHouse#80343
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Enable multiple-projection filtering support, allowing to use more than one projection for part-level filtering. This addresses #55525. This is the second step to implement projection index, following #78429.
This PR also adds projection analysis introspection ability:
explain projections=1, showing which projections are selected and how they are applied.This PR also enables
PREWHEREsupport in projections and query condition cache for projections.Documentation entry for user-facing changes