liyuheng55555 commented on code in PR #9438:
URL: https://github.com/apache/iotdb/pull/9438#discussion_r1155523719
##########
server/src/main/java/org/apache/iotdb/db/mpp/plan/expression/visitor/ExpressionAnalyzeVisitor.java:
##########
@@ -32,8 +32,10 @@ public R visitExpression(Expression expression, C context) {
}
List<R> getResultsFromChild(Expression expression, C context) {
- return expression.getExpressions().stream()
- .map(child -> process(child, context))
- .collect(Collectors.toList());
+ List<R> result = new ArrayList<>();
+ for (Expression child : expression.getExpressions()) {
+ result.add(this.process(child, context));
+ }
+ return result;
Review Comment:
restored to the version that uses stream().
--
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]