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

Convert unnest(bitmap_to_array(xxx)) to unnest_bitmap #45756

Open
trueeyu opened this issue May 16, 2024 · 0 comments
Open

Convert unnest(bitmap_to_array(xxx)) to unnest_bitmap #45756

trueeyu opened this issue May 16, 2024 · 0 comments
Labels
type/enhancement Make an enhancement to StarRocks

Comments

@trueeyu
Copy link
Contributor

trueeyu commented May 16, 2024

Enhancement

Current users allways use unnest(bitmap_to_array(xxx)) to unnest bitmap.

There are two problems with this usage.

  1. Poor performance and high memory usage.
  2. It will be limited by the length of array.

Current unnest_bitmap(xxx) was supported, and it is best to be able to automatically convert.

@trueeyu trueeyu added the type/enhancement Make an enhancement to StarRocks label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Make an enhancement to StarRocks
Projects
None yet
Development

No branches or pull requests

1 participant