Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve heuristic of using dictionary in project and filter #15266

Merged
merged 1 commit into from
Dec 1, 2022

Conversation

raunaqmorarka
Copy link
Member

Description

When last dictionary was not effective but incoming dictionary size is not bigger than the block size, enable dictionary processing. Earlier this logic would apply only to the next dictionary through the existing lastDictionaryUsageCount >= lastInputDictionary.getPositionCount() condition. This change makes the heuristic more consistent by applying the same logic to the incoming dictionary page as well.

Additional context and related issues

Minor improvement, not significant enough to RN.

Release notes

(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

When last dictionary was not effective but incoming dictionary size
is not bigger than the block size, enable dictionary processing.
Earlier this logic would apply only to the next dictionary through the
existing `lastDictionaryUsageCount >= lastInputDictionary.getPositionCount()`
condition. This change makes the heuristic more consistent by applying the
same logic to the incoming dictionary page as well.
@raunaqmorarka raunaqmorarka merged commit ed49e2e into trinodb:master Dec 1, 2022
@raunaqmorarka raunaqmorarka deleted the dict-filter branch December 1, 2022 18:08
@github-actions github-actions bot added this to the 404 milestone Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants