npawar commented on a change in pull request #5238: Evaluate schema transform
expressions during ingestion
URL: https://github.com/apache/incubator-pinot/pull/5238#discussion_r407647868
##########
File path:
pinot-plugins/pinot-input-format/pinot-avro-base/src/main/java/org/apache/pinot/plugin/inputformat/avro/AvroUtils.java
##########
@@ -368,6 +341,21 @@ public static Object handleMultiValue(@Nullable
Collection values) {
for (Object value : values) {
list.add(handleSingleValue(value));
}
- return list;
+ return RecordReaderUtils.convertMultiValue(list);
+ }
+
+ /**
+ * Converts the values withing the map to single-valued values
+ */
+ public static Object handleMap(@Nullable Map map) {
Review comment:
Right now, yes. It is designed based off what was done in AvroUtils to
handle the map
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]