pagrawal10 commented on code in PR #15772:
URL: https://github.com/apache/druid/pull/15772#discussion_r1472731467
##########
extensions-core/orc-extensions/src/test/java/org/apache/druid/data/input/orc/OrcReaderTest.java:
##########
@@ -314,8 +314,8 @@ public void testJsonPathFunctions() throws IOException
//deviation of [7,8,9] is 1/3, stddev is sqrt(1/3), approximately
0.8165
Assert.assertEquals(0.8165,
Double.parseDouble(Iterables.getOnlyElement(row.getDimension("stddev"))),
0.0001);
- //append is not supported
- Assert.assertEquals(Collections.emptyList(),
row.getDimension("append"));
+ //Support for append has been added in json-path-2.9.0
+ //Assert.assertEquals(Collections.emptyList(),
row.getDimension("append"));
Review Comment:
` row.getDimension("append")` results in
`java.lang.UnsupportedOperationException: Unused` coming from
https://github.com/apache/druid/blob/0089f6b905f10a498506a747f0e05275fe366851/processing/src/main/java/org/apache/druid/java/util/common/parsers/FlattenerJsonProvider.java#L118
as we have overriden the parse function.
--
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]