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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]