Fix ArrowArrayStreamReader for 0-columns record batch streams#9405
Merged
alamb merged 3 commits intoapache:mainfrom Feb 13, 2026
Merged
Fix ArrowArrayStreamReader for 0-columns record batch streams#9405alamb merged 3 commits intoapache:mainfrom
ArrowArrayStreamReader for 0-columns record batch streams#9405alamb merged 3 commits intoapache:mainfrom
Conversation
Contributor
Author
|
@alamb what could of the MIRI test be about? |
Contributor
I am pretty sure not related to this PR |
Contributor
|
since MIRI runs with nightly rust, I suspect something broke in nightly and I plan to wait a day or two before investingating in more depth |
alamb
approved these changes
Feb 12, 2026
Contributor
alamb
left a comment
There was a problem hiding this comment.
Makes sense to me -- thank you @jonded94
cc @kylebarron
kylebarron
approved these changes
Feb 12, 2026
Contributor
|
Thanks again @jonded94 and @kylebarron |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Rationale for this change
PR #8944 introduced a regression that 0-column record batch streams could not longer be decoded.
What changes are included in this PR?
RecordBatchwithtry_new_with_optionsusing thelenof theArrayData, instead of letting it try to implicitly determinelenby looking at the first column (this is whattry_newdoes).test_stream_round_trip_[import/export]teststest_stream_round_trip_no_columnstestAre these changes tested?
Yes, both export and import are tested in
test_stream_round_trip_no_columns.Are there any user-facing changes?
0-column record batch streams should be decodable now.