Jackie-Jiang commented on a change in pull request #4399: Moving handling of
NULL values from RecordReaders to NullValueTransfo…
URL: https://github.com/apache/incubator-pinot/pull/4399#discussion_r301291953
##########
File path:
pinot-common/src/main/java/org/apache/pinot/common/utils/JsonUtils.java
##########
@@ -137,13 +138,15 @@ public static Object extractValue(@Nullable JsonNode
jsonValue, FieldSpec fieldS
}
return values;
} else {
- return new Object[]{fieldSpec.getDefaultNullValue()};
+ return null;
Review comment:
Don't know if we should support zero-length array for MV columns, but it is
not the same as null.
----------------------------------------------------------------
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]