You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing union data using ArrowStreamWriter in java, I can't read it back using ArrowStreamReader in java. The exception is:
Exception in thread "main" java.lang.IllegalArgumentException: not all nodes and buffers were consumed. nodes: [ArrowFieldNode [length=100, nullCount=0]] buffers: [ArrowBuf[14], udle: [7 104..117], ArrowBuf[15], udle: [7 120..520]]
at org.apache.arrow.vector.VectorLoader.load(VectorLoader.java:64)
at org.apache.arrow.vector.ipc.ArrowReader.loadRecordBatch(ArrowReader.java:219)
at org.apache.arrow.vector.ipc.ArrowStreamReader.loadNextBatch(ArrowStreamReader.java:121)
The code to reproduce this exception is:
When writing union data using ArrowStreamWriter in java, I can't read it back using ArrowStreamReader in java. The exception is:
And it can't read union data generated by python, as is reported in https://issues.apache.org/jira/browse/ARROW-1692.
It seems strange arrow java can't read union data generated by its own. Is there any format gap between arrow java UnionVector write and read?
Environment: Mac OS 10.13.6, Arrow 0.13.0, JDK8
Reporter: Shawn Yang / @chaokunyang
Note: This issue was originally created as ARROW-5231. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: