Skip to content

Arrow: Fix oversized vector allocations in vectorized reads#17272

Open
ConeyLiu wants to merge 2 commits into
apache:mainfrom
ConeyLiu:fixes-batch-size-request
Open

Arrow: Fix oversized vector allocations in vectorized reads#17272
ConeyLiu wants to merge 2 commits into
apache:mainfrom
ConeyLiu:fixes-batch-size-request

Conversation

@ConeyLiu

@ConeyLiu ConeyLiu commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Fix Arrow vector capacity allocation in vectorized reads.

The batch size was incorrectly multiplied by the estimated or fixed type width, causing oversized allocations. This change allocates variable-width, fixed-size binary, and INT96 vectors using the requested batch row count. Added a new UT to verify this.

@github-actions github-actions Bot added the arrow label Jul 17, 2026
@ConeyLiu

Copy link
Copy Markdown
Contributor Author

@wgtmac @RussellSpitzer @rdblue @nastra could you help review this when you are free?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant