pratham76 opened a new pull request, #13682:
URL: https://github.com/apache/gluten/pull/13682

   ## What changes are proposed in this pull request?
   
   Fixes #13681.
   
   `VeloxColumnarBatch::compose` builds the composed `RowVector` with no row 
nulls, so it checks each input for row nulls. For the first batch, an early 
`continue` skipped 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 `repeatedThenCompose` path 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`; `compose` had 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
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to