nathaniel-d-ef commented on code in PR #8759:
URL: https://github.com/apache/arrow-rs/pull/8759#discussion_r2511292611
##########
arrow-avro/src/reader/mod.rs:
##########
@@ -835,7 +835,7 @@ impl Decoder {
// We must flush the active decoder before switching to the pending
one.
let batch = self.flush_and_reset();
self.apply_pending_schema();
- batch
+ batch.map_err(ArrowError::from)
Review Comment:
Actually, I take that back - the flush is the public API so it should be
ArrowError, with flush_and_reset is internal called by flush.
--
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]