Jackie-Jiang commented on code in PR #8736:
URL: https://github.com/apache/pinot/pull/8736#discussion_r880157358


##########
pinot-spi/src/main/java/org/apache/pinot/spi/utils/JsonUtils.java:
##########
@@ -200,6 +201,11 @@ public static JsonNode bytesToJsonNode(byte[] jsonBytes)
     return DEFAULT_READER.readTree(new ByteArrayInputStream(jsonBytes));
   }
 
+  public static Map<String, Object> jsonNodeToObject(JsonNode jsonNode)

Review Comment:
   Rename this to `jsonNodeToMap`, and remove the one using the `MAPPER` which 
has worse performance IIRC



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

Reply via email to