sap1ens opened a new issue, #832:
URL: https://github.com/apache/arrow-java/issues/832

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Currently, `AvroStringConsumer` calls `decoder.readBytes` instead of 
`decoder.readString`. This can lead to exceptions when using `ResolvingDecoder`:
   
   ```
   org.apache.avro.AvroTypeException: Attempt to process a bytes when a string 
was expected.
   
        at org.apache.avro.io.parsing.Parser.advance(Parser.java:91)
        at 
org.apache.avro.io.ResolvingDecoder.readBytes(ResolvingDecoder.java:236)
        at 
org.apache.arrow.adapter.avro.consumers.AvroStringConsumer.consume(AvroStringConsumer.java:41)
   ```


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to