tklinchik opened a new issue, #34850:
URL: https://github.com/apache/arrow/issues/34850

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Using python3 with pyarrow 11.0.0 to create a simple arrow file from a data 
frame causes following exception on Java reading side using version 11.0.0 of 
Java library:
   
   ```
   [main] INFO org.apache.arrow.memory.BaseAllocator - Debug mode enabled.
   [main] INFO org.apache.arrow.memory.DefaultAllocationManagerOption - 
allocation manager type not specified, using netty as the default type
   [main] INFO org.apache.arrow.memory.CheckAllocator - Using 
DefaultAllocationManager at 
memory-unsafe/10.0.1/d131a028bf7c1a6f56f14bb0212603cd2dae1555/arrow-memory-unsafe-10.0.1.jar!/org/apache/arrow/memory/DefaultAllocationManagerFactory.class
   Exception in thread "main" java.lang.IndexOutOfBoundsException: index: 0, 
length: 128 (expected: range(0, 16))
        at org.apache.arrow.memory.ArrowBuf.checkIndex(ArrowBuf.java:701)
        at org.apache.arrow.memory.ArrowBuf.setBytes(ArrowBuf.java:955)
        at 
org.apache.arrow.vector.BaseFixedWidthVector.reAlloc(BaseFixedWidthVector.java:451)
        at 
org.apache.arrow.vector.BaseFixedWidthVector.setValueCount(BaseFixedWidthVector.java:732)
        at 
org.apache.arrow.vector.VectorSchemaRoot.setRowCount(VectorSchemaRoot.java:240)
        at org.apache.arrow.vector.VectorLoader.load(VectorLoader.java:86)
        at 
org.apache.arrow.vector.ipc.ArrowReader.loadRecordBatch(ArrowReader.java:220)
        at 
org.apache.arrow.vector.ipc.ArrowFileReader.loadNextBatch(ArrowFileReader.java:166)
        at 
org.apache.arrow.vector.ipc.ArrowFileReader.loadRecordBatch(ArrowFileReader.java:197)
   ```
   
   
   
   ### Component(s)
   
   Java


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