Skip to content

chore: use bench array helpers from Arrow bench_util#21544

Open
theirix wants to merge 3 commits intoapache:mainfrom
theirix:use-bench-utils
Open

chore: use bench array helpers from Arrow bench_util#21544
theirix wants to merge 3 commits intoapache:mainfrom
theirix:use-bench-utils

Conversation

@theirix
Copy link
Copy Markdown
Contributor

@theirix theirix commented Apr 10, 2026

Which issue does this PR close?

  • Closes #.

Rationale for this change

While working on function benchmarks, I've noticed duplicated code, which can be replaced with arrow::util::bench_util helpers. I recall a discussion in apache/arrow-rs#7294 about bench_util / test_utils usage, and seems like it can be used to simplify clients code.

What changes are included in this PR?

  • Equivalent changes in benchmarks. More complicated and targeted helpers are left as is

Are these changes tested?

  • Run benchmarks to check errors or performance degradations

Are there any user-facing changes?

# Conflicts:
#	datafusion/functions-nested/benches/array_remove.rs
@github-actions github-actions bot added the functions Changes to functions implementation label Apr 10, 2026
@theirix theirix marked this pull request as ready for review April 10, 2026 20:57
@theirix theirix changed the title Use bench array helpers from arrow bench_util chore: use bench array helpers from Arrow bench_util Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

functions Changes to functions implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant