fallintoplace opened a new pull request, #1023:
URL: https://github.com/apache/arrow-go/pull/1023

   ### Rationale for this change
   
   TableReader treats an empty column chunk as the next batch boundary. A valid 
table with an empty chunk therefore emits a zero-row record batch before 
returning its actual rows.
   
   ### What changes are included in this PR?
   
   * Advance each column past empty chunks before calculating the next batch 
size.
   * Keep chunk slots synchronized without exposing zero-row batches.
   
   ### Are these changes tested?
   
   Yes. The regression test builds a valid chunked column with empty chunks and 
verifies that only the non-empty batch is returned. The full arrow/array 
package, assertion build, compute packages, and IPC package also pass.


-- 
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]

Reply via email to