chenboat commented on code in PR #14229:
URL: https://github.com/apache/pinot/pull/14229#discussion_r1803475323


##########
pinot-spi/src/test/java/org/apache/pinot/spi/utils/JsonUtilsTest.java:
##########
@@ -641,4 +641,71 @@ public void testEmptyString()
     List<Map<String, String>> flattenedRecords = JsonUtils.flatten(jsonNode, 
jsonIndexConfig);
     assertTrue(flattenedRecords.isEmpty());
   }
+
+  @Test
+  public void testFlattenWithIndexPaths()
+      throws IOException {
+    {
+      JsonNode jsonNode = JsonUtils.stringToJsonNode(
+          "[{\"country\":\"us\",\"street\":\"main 
st\",\"number\":1},{\"country\":\"ca\",\"street\":\"second st\","

Review Comment:
   Is there anyway we can make this json string easier to read? Ideally without 
escape so that it is easier to verify the depth?



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