TrevorADHD commented on code in PR #8381:
URL: https://github.com/apache/arrow-rs/pull/8381#discussion_r2359539208


##########
arrow-avro/examples/read_with_utf8view.rs:
##########
@@ -48,6 +48,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
     let batches: Vec<RecordBatch> = avro_reader.collect::<Result<_, _>>()?;
     let regular_duration = start.elapsed();
 
+    file_for_view.seek(SeekFrom::Start(0))?;

Review Comment:
   In my personal opinion, no need to modify the reader's logic. User who clone 
the file handle should know, realize and conscious control the file handle. 



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