mzabaluev commented on PR #8930:
URL: https://github.com/apache/arrow-rs/pull/8930#issuecomment-3770381691

   I get a `ParseError("bad varint")` on this test:
   
   ```rust
       fn get_int_array_schema() -> SchemaRef {
           let schema = Schema::new(vec![Field::new(
               "int_array",
               DataType::List(Arc::new(Field::new("element", DataType::Int32, 
true))),
               true,
           )])
           .with_metadata(HashMap::from([("avro.name".into(), 
"table".into())]));
           Arc::new(schema)
       }
   
       #[tokio::test]
       async fn test_bad_varint_bug() {
           let file = arrow_test_data("avro/bad-varint-bug.avro");
   
           let schema = get_int_array_schema();
           let batches = read_async_file(&file, 1024, None, 
schema).await.unwrap();
           let _batch = &batches[0];
       }
   ```
   
   The Avro file: 
[bad-varint-bug.avro.gz](https://github.com/user-attachments/files/24724610/bad-varint-bug.avro.gz)
   


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