mzabaluev opened a new pull request, #9611:
URL: https://github.com/apache/arrow-rs/pull/9611

   # Which issue does this PR close?
   
   - Closes #9608.
   
   # Rationale for this change
   
   In the degenerate case when the Avro reader schema has no fields, the 
`RecordDecoder` should be able to produce empty record batches with the number 
of rows counted from the data. As an optimization for OCF, the reader could 
skip decoding altogether, relying on record counts provided by data blocks.
   
   # What changes are included in this PR?
   
   A row counter is run in the `RecordDecoder` state.
   
   # Are these changes tested?
   
   Added tests to verify decoder behavior given an empty reader schema for the 
data files in the test suite.
   
   # Are there any user-facing changes?
   
   No.


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