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

 ##########
 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:
   Want to maintain parity with the existing functionality. We can solve this 
in another PR.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to