Skip to content

docs(arrow-select): document the InProgressArray copy methods#10057

Draft
alamb wants to merge 2 commits into
apache:mainfrom
alamb:alamb/in-progress-array-docs
Draft

docs(arrow-select): document the InProgressArray copy methods#10057
alamb wants to merge 2 commits into
apache:mainfrom
alamb:alamb/in-progress-array-docs

Conversation

@alamb

@alamb alamb commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Documentation follow-up for #9755.

Note

Stacked on top of #9755 (not yet merged), so the diff also shows that PR's feature commit. The contribution here is the single docs commit.

Comments only — no code changes. Documents the InProgressArray copy methods and clarifies which operate on the source set via set_source versus the one that takes the source directly.

ClSlaid and others added 2 commits June 3, 2026 14:08
Teach BatchCoalescer to reuse a FilterPredicate when coalescing filtered batches whose non-primitive columns are inline Utf8View/BinaryView values. This avoids materializing an intermediate filtered RecordBatch for sparse filters and copies inline views and nulls directly into the in-progress arrays.

Keep materialized filtering for dense filters, batches that do not fit the coalescer buffer, and byte-view arrays with external buffers. Use a looser dense threshold for multi-column batches, where sharing the row selection across columns pays for itself.

Add shared FilterSelection iterators so primitive and byte-view coalescers can consume materialized or lazy row selections without matching per row.

Signed-off-by: cl <cailue@apache.org>
Add rationale and clarify the relationships between the `InProgressArray`
trait's copy methods (`copy_rows`, `copy_rows_by_filter`,
`copy_rows_by_filter_from`, `copy_rows_by_selection`), including which read
the source set via `set_source` versus taking it directly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the arrow Changes to the arrow crate label Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants