jarohen commented on code in PR #40987:
URL: https://github.com/apache/arrow/pull/40987#discussion_r1551915546
##########
java/vector/src/main/java/org/apache/arrow/vector/ipc/JsonFileWriter.java:
##########
@@ -208,6 +210,10 @@ private void writeBatch(VectorSchemaRoot recordBatch)
throws IOException {
}
private void writeFromVectorIntoJson(Field field, FieldVector vector) throws
IOException {
+ if (vector instanceof ExtensionTypeVector) {
Review Comment:
@pitrou that's strange :thinking:
The test in this PR fails without the associated code change. It throws
`UnsupportedOperation minor type: EXTENSIONTYPE`, from
[here](https://github.com/apache/arrow/blob/72d20ad719021c5513620e23a0a65fb724f0e299/java/vector/src/main/java/org/apache/arrow/vector/ipc/JsonFileWriter.java#L432)
- which seems correct, there's no case in there for EXTENSIONTYPE.
--
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]