Skip to content

Replace custom merge operator with arrow-rs implementation#19424

Merged
Jefffrey merged 1 commit intoapache:mainfrom
pepijnve:arrow_merge
Dec 25, 2025
Merged

Replace custom merge operator with arrow-rs implementation#19424
Jefffrey merged 1 commit intoapache:mainfrom
pepijnve:arrow_merge

Conversation

@pepijnve
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

The functions arrow_select::merge::merge and arrow_select::merge::merge_n were first implemented for DataFusion in case.rs. They have since been generalised and moved to arrow-rs. Now that an arrow-rs is available that contains these functions, DataFusion should make use of them.

What changes are included in this PR?

  • Remove merge and merge_n from case.rs along with the unit tests for those functions
  • Adapt code for their equivalents from arrow-rs

Are these changes tested?

Covered by existing unit tests and SLTs

Are there any user-facing changes?

No

@pepijnve pepijnve marked this pull request as ready for review December 20, 2025 13:47
@github-actions github-actions bot added the physical-expr Changes to the physical-expr crates label Dec 20, 2025
@Jefffrey Jefffrey added this pull request to the merge queue Dec 25, 2025
Merged via the queue into apache:main with commit 03904e1 Dec 25, 2025
31 checks passed
@Jefffrey
Copy link
Contributor

Thanks @pepijnve

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

Labels

physical-expr Changes to the physical-expr crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use merge and merge_n from arrow-rs instead of custom implementations

2 participants