amrishlal commented on a change in pull request #8426:
URL: https://github.com/apache/pinot/pull/8426#discussion_r837997074



##########
File path: 
pinot-plugins/pinot-input-format/pinot-avro-base/src/test/java/org/apache/pinot/plugin/inputformat/avro/AvroRecordExtractorTest.java
##########
@@ -73,8 +73,12 @@ protected void createInputFile()
             new Field("firstName", 
createUnion(Lists.newArrayList(create(Type.STRING), create(Type.NULL))), null, 
null),
             new Field("lastName", 
createUnion(Lists.newArrayList(create(Type.STRING), create(Type.NULL))), null, 
null),
             new Field("bids", 
createUnion(Lists.newArrayList(createArray(create(Type.INT)), 
create(Type.NULL))), null,
-                null), new Field("campaignInfo", create(Type.STRING), null, 
null),
-            new Field("cost", create(Type.DOUBLE), null, null), new 
Field("timestamp", create(Type.LONG), null, null));
+                null),
+            new Field("campaignInfo", create(Type.STRING), null, null),
+            new Field("cost", create(Type.DOUBLE), null, null),
+            new Field("timestamp", create(Type.LONG), null, null),
+            new Field("xarray", createArray(create(Type.STRING))),
+            new Field("xmap", createMap(create(Type.STRING))));

Review comment:
       This file is shared by Thrift, Protobuf, ORC, CSV, etc. and I am seeing 
some differences in handling of boolean (Thrift vs others), fixed (custom code 
needed for setting Fixed values in Avro, vs binary in others), and enum (custom 
code needed for Avro) between different file formats, so probably a better idea 
to do this in a separate PR of its own.




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to