xuzifu666 commented on code in PR #5381:
URL: https://github.com/apache/calcite/pull/5381#discussion_r4434147175


##########
elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/ElasticsearchRules.java:
##########
@@ -292,6 +293,15 @@ protected ElasticsearchFilterRule(Config config) {
       super(config);
     }
 
+    @Override public boolean matches(RelOptRuleCall call) {
+      final LogicalFilter filter = call.rel(0);
+      // Bind variables of a prepared statement are not known at planning

Review Comment:
   Here should be bound variables and I addressed it, thank you for the 
suggestion!



-- 
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]

Reply via email to