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

feat: utilize the column cardinality for deciding whether to do dict #1372

Merged
merged 4 commits into from
Dec 20, 2023

Conversation

ShiKaiWi
Copy link
Member

Rationale

The column value set has been summarized into the meta data if the column is low distinct. With such information, the sampling for the columns can be skipped.

Detailed Changes

Skip sampling over the low-cardinality columns.

Test Plan

Updated the unit tests.

@tanruixiang
Copy link
Member

During the time when you don't have write permission for a while, you can ping me if any prs are ready to merge. @apache/horaedb-committers

@tanruixiang tanruixiang self-requested a review December 20, 2023 04:24
Copy link
Contributor

@jiacai2050 jiacai2050 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@tanruixiang tanruixiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Help @jiacai2050 agree to merge codes

@tanruixiang tanruixiang merged commit 9619810 into apache:dev Dec 20, 2023
6 checks passed
@ShiKaiWi ShiKaiWi deleted the optional-column-encoding branch December 21, 2023 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants