Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
3.0.0
-
None
Description
Using rust, serialized datatype to a file with a schema of
Field { name: "val", data_type: Struct([Field { name: "val", data_type: Utf8, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: None }]), nullable: false, dict_id: 0, dict_is_ordered: false, metadata: None }
Using a java client to read the serialized datatype results in a schema of
Schema<val: Struct<val: Utf8 not null> not null>
whilst calling ArrowFileReader.loadNextBatch() results in
Exception in thread "main" java.util.NoSuchElementExceptionException in thread "main" java.util.NoSuchElementException at java.base/java.util.ArrayList$Itr.next(ArrayList.java:1000) at org.apache.arrow.vector.VectorLoader.loadBuffers(VectorLoader.java:81) at org.apache.arrow.vector.VectorLoader.loadBuffers(VectorLoader.java:99) at org.apache.arrow.vector.VectorLoader.load(VectorLoader.java:61) at org.apache.arrow.vector.ipc.ArrowReader.loadRecordBatch(ArrowReader.java:205) at org.apache.arrow.vector.ipc.ArrowFileReader.loadNextBatch(ArrowFileReader.java:153)