You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2022/03/14 08:40:08 UTC

[GitHub] [calcite] xy2953396112 commented on a change in pull request #2743: [CALCITE-5036] RelMdPredicates support to analyze constant key for the operator of IS_NOT_DISTINCT_FROM

xy2953396112 commented on a change in pull request #2743:
URL: https://github.com/apache/calcite/pull/2743#discussion_r825700693



##########
File path: core/src/main/java/org/apache/calcite/rel/metadata/RelMdPredicates.java
##########
@@ -278,11 +278,18 @@ public RelOptPredicateList getPredicates(Filter filter, RelMetadataQuery mq) {
     final RexBuilder rexBuilder = filter.getCluster().getRexBuilder();
     final RelOptPredicateList inputInfo = mq.getPulledUpPredicates(input);
 
+    // Simplify filter's condition using RexSimplify.

Review comment:
       Please not use `filter's`




-- 
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: commits-unsubscribe@calcite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org