Remove steps with always true predicate from prewhere reading chain#62776
Open
canhld94 wants to merge 2 commits intoClickHouse:masterfrom
Open
Remove steps with always true predicate from prewhere reading chain#62776canhld94 wants to merge 2 commits intoClickHouse:masterfrom
canhld94 wants to merge 2 commits intoClickHouse:masterfrom
Conversation
Signed-off-by: Duc Canh Le <[email protected]>
Contributor
|
This is an automated comment for commit 56748cb with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
Contributor
Author
|
Hm.. need to consider case when predicate is a constant column wrapped by |
Signed-off-by: Duc Canh Le <[email protected]>
Contributor
Author
|
The approach won't work, because sometimes we need the constant column for later step. |
29 tasks
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):
When a constant node is the first step of reading chain and the storage doesn't have adaptive granularity, the last granule 's rows will not be accurate because no physical read is performed, and it may cause some bug in range reader. Close #62741
This should bring performance improvement in some cases.
Documentation entry for user-facing changes
Modify your CI run:
NOTE: If your merge the PR with modified CI you MUST KNOW what you are doing
NOTE: Checked options will be applied if set before CI RunConfig/PrepareRunConfig step
Include tests (required builds will be added automatically):
Exclude tests:
Extra options:
Only specified batches in multi-batch jobs: