Skip to content

improve performance of filter bundle building by reusing stuff when possible - #18488

Merged
gianm merged 2 commits into
apache:masterfrom
clintropolis:filter-bundle-builder-improvement
Sep 5, 2025
Merged

improve performance of filter bundle building by reusing stuff when possible#18488
gianm merged 2 commits into
apache:masterfrom
clintropolis:filter-bundle-builder-improvement

Conversation

@clintropolis

Copy link
Copy Markdown
Member

Description

Improves FilterBundle.Builder performance by adding a method to BooleanFilter to allow building a BitmapColumnIndex using FilterBundle.Builder of the child filters instead of directly from the child filters, which allow re-use of things such as BitmapColumnIndex which are also computed by the builder.

@capistrant capistrant left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is cool, thanks for submitting! I was gonna ask about tests for the new method but I guess it is implicitly under test from the existing FilterBundle tests. 👍

@gianm
gianm merged commit dd8ce12 into apache:master Sep 5, 2025
62 checks passed
@clintropolis
clintropolis deleted the filter-bundle-builder-improvement branch September 9, 2025 07:02
@cecemei cecemei added this to the 35.0.0 milestone Oct 21, 2025
riovic918data pushed a commit to riovic918data/druid that referenced this pull request Jun 12, 2026
…ossible (apache#18488)

* improve performance of filter bundle building by reusing stuff for boolean filters when possible

* slightly less garbage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants