xuzifu666 commented on code in PR #4634:
URL: https://github.com/apache/calcite/pull/4634#discussion_r2529539513
##########
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:
##########
@@ -1930,8 +1930,13 @@ public RelBuilder filter(Iterable<CorrelationId>
variablesSet,
if (config.simplify()) {
conjunctionPredicates = simplifier.simplifyFilterPredicates(predicates);
} else {
+ List<RexNode> simplified = new ArrayList<>();
Review Comment:
minor improvement here:
```List<RexNode> simplified = new ArrayList<>(predicates.size);```
--
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]