Skip to content

fix(arrow/array): bound table reader batches - #1146

Open
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/table-reader-row-count
Open

fix(arrow/array): bound table reader batches#1146
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/table-reader-row-count

Conversation

@fallintoplace

Copy link
Copy Markdown
Contributor

What

NewTable permits a column to be longer than the logical table row count. TableReader used the absolute row limit when choosing each batch size, so a 5-row table could emit a second batch that crossed the logical end. This uses the remaining row count.

Test

  • go test ./arrow/array -run TestTableReaderDoesNotExceedTableRowCount -count=1

@fallintoplace
fallintoplace marked this pull request as ready for review August 8, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant