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

Make frequency compilation smarter still #2087

Open
jqnatividad opened this issue Aug 26, 2024 · 1 comment
Open

Make frequency compilation smarter still #2087

jqnatividad opened this issue Aug 26, 2024 · 1 comment
Labels
enhancement New feature or request performance

Comments

@jqnatividad
Copy link
Owner

Right now, it only looks at a column's cardinality to short-circuit frequency compilation for ID columns. It doesn't look at the modes/antimodes to get the pre-computed values for low-cardinality columns.

It should use these stats as well to short-circuit frequency compilation for low-cardinality columns.

@jqnatividad jqnatividad added the enhancement New feature or request label Aug 26, 2024
@jqnatividad
Copy link
Owner Author

If all the modes are listed by stats ( not just a truncated preview), and the number of unique modes is equal to its cardinality, use this info to short-circuit frequency calculation for the column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance
Projects
None yet
Development

No branches or pull requests

1 participant