richardstartin commented on a change in pull request #7819: URL: https://github.com/apache/pinot/pull/7819#discussion_r755082884
########## File path: pinot-common/src/test/java/org/apache/pinot/common/function/scalar/ArrayAwareJacksonJsonProviderTest.java ########## @@ -48,15 +49,11 @@ public void testArrayLength() { List<Object> dataInList = Arrays.asList("abc", "efg", "hij"); assertEquals(jp.length(dataInList), 3); + } - try { - jp.length(null); - fail(); - } catch (NullPointerException e) { - // It's supposed to get a JsonPathException, but JsonPath library actually - // has a bug leading to NullPointerException while creating the JsonPathException. Review comment: this bug was fixed -- 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