nizarhejazi commented on code in PR #8503:
URL: https://github.com/apache/pinot/pull/8503#discussion_r850790282


##########
pinot-core/src/main/java/org/apache/pinot/core/operator/transform/function/JsonExtractScalarTransformFunction.java:
##########
@@ -301,7 +313,7 @@ private String[] 
transformTransformedValuesToStringValuesSV(ProjectionBlock proj
     for (int i = 0; i < numDocs; i++) {
       Object result = null;
       try {
-        result = JSON_PARSER_CONTEXT.parse(jsonStrings[i]).read(_jsonPath);
+        result = 
JSON_PARSER_CONTEXT_WITH_EXACT_BIG_DECIMAL.parse(jsonStrings[i]).read(_jsonPath);

Review Comment:
   `JsonExtractScalarTransformFunction`  does not override 
`transformToBytesValuesSV`. I mentioned more on why I used 
`transformToStringValuesSV` in `JsonExtractScalarTransformFunctionTest.java`. 
Will keep to a separate 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.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to