Skip to content

benchmark: Add Boolean filter kernel benchmarks - #11980

Closed
Rich-T-kid wants to merge 1 commit into
apache:mainfrom
Rich-T-kid:rich-T-kid/add-boolean-filter-benchmarks
Closed

Rich-T-kid wants to merge 1 commit into
apache:mainfrom
Rich-T-kid:rich-T-kid/add-boolean-filter-benchmarks

Conversation

@Rich-T-kid

@Rich-T-kid Rich-T-kid commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to this review comment on #11918.

Adds Boolean data to filter_kernels, covering nullable and non-null arrays across the existing selectivities. Previously it only used Boolean arrays as filter masks.

@github-actions github-actions Bot added the arrow-core Core crates related to representing arrow data label Oct 28, 2026
@Rich-T-kid
Rich-T-kid marked this pull request as ready for review October 29, 2026 03:13
@Rich-T-kid Rich-T-kid added the development-process Internal changes; PRs with this label are excluded from changelog label Oct 29, 2026
@Rich-T-kid Rich-T-kid changed the title Add Boolean filter kernel benchmarks benchmark: Add Boolean filter kernel benchmarks Oct 29, 2026
@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

Superseded by #12054, which combines this with the related benchmark coverage.

@Rich-T-kid Rich-T-kid closed this Nov 3, 2026
dwsmith1983 pushed a commit to dwsmith1983/arrow-rs that referenced this pull request Nov 4, 2026
# Which issue does this PR close?

Part of apache#11885. Adds benchmark coverage for apache#11901 and apache#12008, and
follows up on the Boolean filter coverage requested in
[apache#11918](apache#11918 (comment)).

This consolidates and supersedes apache#11980 and apache#12041.

# Why is this change needed?

The existing suites do not cover Boolean arrays as filter data or the
cost of operating on small key ranges backed by oversized dictionaries.
They also do not exercise the 16-values-per-selected-key boundary
between dense and sparse dictionary mappings.

# What changes are included in this PR?

- Adds nullable and non-null Boolean filter cases across the existing
selectivities.
- Adds prepared `RowConverter` cases for rotating 8,192-key ranges
backed by unique string dictionaries with 1M and 4M values.
- Measures the full-value encoding cost from apache#11901 without including
`RowConverter` construction.
- Adds concat cases for 12 distinct dictionaries sliced to 682 keys,
with 12, 16, and 24 values per selected key.
- Straddles apache#12008's 16-values-per-selected-key cutoff so we can assess
the threshold.

# Are these changes tested?

Built and ran each filtered benchmark locally.

Benchmark bot runs:

-
[`filter_kernels`](apache#12054 (comment))
-
[`row_format`](apache#12054 (comment))
-
[`concatenate_kernel`](apache#12054 (comment))

# Are there any significant user-facing changes?

No. This only adds benchmark coverage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow-core Core crates related to representing arrow data development-process Internal changes; PRs with this label are excluded from changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant