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
You tried to start a map key when you are using a ValueWriter of type UnionListWriter.
java.lang.IllegalStateException: You tried to start a map key when you are using a ValueWriter of type UnionListWriter.
at org.apache.arrow.vector.complex.impl.AbstractFieldWriter.key(AbstractFieldWriter.java:123)
at org.apache.arrow.vector.complex.impl.UnionListWriter.key(UnionListWriter.java:69)
...
I believe this code can be easily fixed by just changing it to:
Not sure if I am using this wrong, but I noticed
getNewFieldWriter
for the minorTypeMAP
is returning aUnionListWriter
instead of aUnionMapWriter
.arrow-java/vector/src/main/java/org/apache/arrow/vector/types/Types.java
Lines 722 to 726 in 799d9fd
This leads to the issue of this code block throwing an error:
Exception:
I believe this code can be easily fixed by just changing it to:
The text was updated successfully, but these errors were encountered: