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


##########
pinot-core/src/main/java/org/apache/pinot/core/common/evaluators/DefaultJsonPathEvaluator.java:
##########
@@ -38,8 +41,13 @@
 
 public final class DefaultJsonPathEvaluator implements JsonPathEvaluator {
 
-  private static final ParseContext JSON_PARSER_CONTEXT = JsonPath.using(
-      new Configuration.ConfigurationBuilder().jsonProvider(new 
JacksonJsonProvider())
+  private static final ObjectMapper OBJECT_MAPPER_WITH_EXACT_BIG_DECIMAL = 
(new ObjectMapper())

Review Comment:
   Updated to use OBJECT_MAPPER_WITH_EXACT_BIG_DECIMAL only when parsing 
BigDecimal(s), otherwise use OBJECT_MAPPER.



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