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

Support Rewrite COUNT(DISTINCT) into bitmap_union(dict_mapping()) #55112

Open
akizminet opened this issue Jan 15, 2025 · 0 comments
Open

Support Rewrite COUNT(DISTINCT) into bitmap_union(dict_mapping()) #55112

akizminet opened this issue Jan 15, 2025 · 0 comments

Comments

@akizminet
Copy link

Feature request

Is your feature request related to a problem? Please describe.

StarRocks currently supports rewrite COUNT(DISTINCT col) if MV has aggregate functions like bitmap_union(to_bitmap(col)), but this is limited to numberic columns.

Support create MV with bitmap_union(dict_mapping('dict_name', col)) and rewrite COUNT(DISTINCT)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant