pitrou commented on code in PR #40987:
URL: https://github.com/apache/arrow/pull/40987#discussion_r1551948261


##########
java/vector/src/main/java/org/apache/arrow/vector/ipc/JsonFileReader.java:
##########
@@ -98,10 +100,14 @@ public class JsonFileReader implements AutoCloseable, 
DictionaryProvider {
   public JsonFileReader(File inputFile, BufferAllocator allocator) throws 
JsonParseException, IOException {
     super();
     this.allocator = allocator;
-    MappingJsonFactory jsonFactory = new MappingJsonFactory(new ObjectMapper()
-        //ignore case for enums
-        .configure(MapperFeature.ACCEPT_CASE_INSENSITIVE_ENUMS, true)
-    );
+    //ignore case for enums
+    ObjectMapper mapper = new 
ObjectMapper().configure(MapperFeature.ACCEPT_CASE_INSENSITIVE_ENUMS, true);
+    mapper.registerSubtypes(

Review Comment:
   I don't know how Jackson works, but there's no reference to "UuidType" in 
the generated JSON...



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