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

fix bitmapAnd error when intersecting an aggregated bitmap and a scalar bitmap #8082

Merged
merged 3 commits into from Dec 21, 2019

Conversation

moon03432
Copy link

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Bug Fix

Changelog entry (up to few sentences, required except for Non-significant/Documentation categories):

fix bitmapAnd error when intersecting an aggregated bitmap and a scalar bitmap.

Detailed description (optional):

similar to issue #5479: bitmapHasAny in scalar subquery causes segment fault

Copy link
Member

@alexey-milovidov alexey-milovidov left a comment

Choose a reason for hiding this comment

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

Need to add a test.

@moon03432
Copy link
Author

@alexey-milovidov hi, test has been added in 00829_bitmap_function.sql and reference

@alexey-milovidov alexey-milovidov merged commit d52547d into ClickHouse:master Dec 21, 2019
@alexey-milovidov
Copy link
Member

Thank you!

@vitlibar vitlibar added the pr-bugfix Pull request with bugfix, not backported by default label Dec 23, 2019
vitlibar pushed a commit that referenced this pull request Dec 23, 2019
fix bitmapAnd error when intersecting an aggregated bitmap and a scalar bitmap

(cherry picked from commit d52547d)
vitlibar pushed a commit that referenced this pull request Dec 24, 2019
fix bitmapAnd error when intersecting an aggregated bitmap and a scalar bitmap

(cherry picked from commit d52547d)
@vitlibar
Copy link
Member

Conflict with 19.16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix Pull request with bugfix, not backported by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants