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

   # Which issue does this PR close?
   
   - Closes #9460.
   
   # Rationale for this change
   
   Rework of #9462 along the lines proposed in 
https://github.com/apache/arrow-rs/pull/9462#issuecomment-3995541243.
   
   # What changes are included in this PR?
   
   Add `HeaderInfo` as a cheaply cloneable value to expose header information 
parsed from an Avro OCF file.
   
   Add `read_header_info` function to the `reader` module, and its async 
counterpart to the `reader::async_reader` module, to read the header from the 
file reader and return `HeaderInfo`.
   
   Add `build_with_header` method to async reader builder to enable reuse of 
the header with multiple readers.
   
   # Are these changes tested?
   
   TBA
   
   # Are there any user-facing changes?
   
   New API:
   
   * `reader::HeaderInfo`
   * `reader::read_header_info` and `reader::async_reader::read_header_info`
   *  `build_with_header` method of `AvroAsyncFileReader`'s builder.
   


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