Repository navigation
Conversation
Contributor
Author
|
@zhouyuan PTAL - The CI failure seems to be due to maven pull errors |
pratham76
force-pushed
the
fix-compose-first-batch-nulls
branch
from
November 24, 2026 10:03
263b053 to
07955bc
Compare
Contributor
Author
|
@zhouyuan could we check this PR in? Thanks! |
Member
|
@pratham76 could you please do a rebase? |
…arBatch::compose compose() skipped the row-nulls check for the first batch because of an early `continue`, so row nulls in that batch were silently dropped from the composed batch, which is created without row nulls. Run the check for every batch, and add unit tests for compose.
pratham76
force-pushed
the
fix-compose-first-batch-nulls
branch
from
November 28, 2026 11:13
07955bc to
072c4d7
Compare
Contributor
Author
Hey @zhouyuan Have rebased, Thanks! |
Contributor
Author
|
CI has passed as well, please do take a look when you get a chance. Thanks! |
This branch has not been deployed
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.
What changes are proposed in this pull request?
Fixes #13681.
VeloxColumnarBatch::composebuilds the composedRowVectorwith no row nulls, so it checks each input for row nulls. For the first batch, an earlycontinueskipped that check, so row nulls in the first batch were silently dropped instead of raising "Vectors to compose contain null bits". This PR runs the check for every batch.Callers are not affected: the JNI
repeatedThenComposepath builds its first batch without row nulls, and the JVM callers pass regular operator output. Only an input that already has row nulls in its first batch now gets the error instead of losing them.How was this patch tested?
Added two tests to
VeloxColumnarBatchTest;composehad no tests before:compose: composes a 1-column and a 2-column batch and checks the column count, row count and values; checks that mismatched row counts are rejected.composeRejectsRowNullsInAnyBatch: checks that a batch with row nulls is rejected in either position. The first-position case fails without this fix.Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude claude-opus-5-5