clintropolis commented on code in PR #13568:
URL: https://github.com/apache/druid/pull/13568#discussion_r1049363967
##########
processing/src/main/java/org/apache/druid/query/expression/NestedDataExpressions.java:
##########
@@ -500,9 +501,10 @@ public ExprEval eval(ObjectBinding bindings)
// maybe in the future ProcessResults should deal in
PathFinder.PathPart instead of strings for fields
StructuredDataProcessor.ProcessResults info =
processor.processFields(unwrap(input));
List<String> transformed = info.getLiteralFields()
- .stream()
- .map(p ->
NestedPathFinder.toNormalizedJsonPath(NestedPathFinder.parseJqPath(p)))
- .collect(Collectors.toList());
+ .stream()
+
.map(NestedPathFinder::toNormalizedJsonPath)
+ .sorted()
Review Comment:
removed the sort in favor of adding some explicit array sorting function
later
--
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]