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


##########
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:
   For example, i use confluent avro and apache avro tgt. So I can skip 
confluent magic byte + schema id , and pass it to reader.  But if reader reset 
the offset, it will become not convenient. 



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

Reply via email to