mayankshriv commented on a change in pull request #4388: Adding support for Map
type fields
URL: https://github.com/apache/incubator-pinot/pull/4388#discussion_r300755805
##########
File path: pinot-core/src/main/java/org/apache/pinot/core/util/AvroUtils.java
##########
@@ -296,4 +302,33 @@ public static boolean isSingleValueField(Field field) {
return fieldSchema;
}
}
+
+ public static void extractField(FieldSpec incomingFieldSpec, GenericRecord
from, GenericRow to) {
+ String fieldName = incomingFieldSpec.getName();
+ //Handle MAP types
+ if (fieldName.toUpperCase().endsWith("__KEYS")) {
Review comment:
Define __KEYS and __VALUES in CommonConstants.
----------------------------------------------------------------
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]