Skip to content

refactor(coalesce): expose dense indexed copy support - #12399

Merged
Rich-T-kid merged 3 commits into
apache:mainfrom
Rich-T-kid:rich-T-kid/indexed-copy-capability
Nov 25, 2026
Merged

Rich-T-kid merged 3 commits into
apache:mainfrom
Rich-T-kid:rich-T-kid/indexed-copy-capability

Conversation

@Rich-T-kid

@Rich-T-kid Rich-T-kid commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

Keep indexed-copy capabilities with their implementations, as suggested in this review comment.

What changes are included in this PR?

Adds supports_dense_indexed_copy to InProgressArray, with true for implementations that specialize copy_rows_by_indices.

Are these changes tested?

A table-driven unit test covers each in-progress array implementation.

Are there any significant user-facing changes?

No.

@boring-cyborg boring-cyborg Bot added the arrow-kernels Crates that transform arrow data (e.g. compute, cast) label Nov 22, 2026
Comment thread arrow-select/src/coalesce.rs Outdated
Comment on lines +1013 to +1016
#[expect(dead_code)]
fn supports_dense_indexed_copy(&self) -> bool {
false
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

will be used in #12223

@Rich-T-kid
Rich-T-kid force-pushed the rich-T-kid/indexed-copy-capability branch from 96ad95e to 0cc949a Compare November 22, 2026 05:35
@Rich-T-kid
Rich-T-kid requested a review from alamb November 23, 2026 19:42
@Rich-T-kid
Rich-T-kid added this pull request to the merge queue Nov 24, 2026
Merged via the queue into apache:main with commit fc5a8ee Nov 25, 2026
22 checks passed
@Jefffrey Jefffrey added the development-process Internal changes; PRs with this label are excluded from changelog label Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow-kernels Crates that transform arrow data (e.g. compute, cast) 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.

3 participants