scovich commented on code in PR #8100: URL: https://github.com/apache/arrow-rs/pull/8100#discussion_r2268126358
########## arrow-avro/src/reader/mod.rs: ########## @@ -302,6 +306,11 @@ impl Decoder { self.remaining_capacity == 0 } + /// Returns true if the decoder has not decoded any batches yet. + pub fn batch_is_empty(&self) -> bool { Review Comment: nit: Not sure it needs to be `pub`? But I guess it's plenty well-defined (`batch_is_empty` is true if `flush` would return None), so no harm leaving it public? -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org