NobiGo commented on code in PR #4250:
URL: https://github.com/apache/calcite/pull/4250#discussion_r2000845332
##########
core/src/main/java/org/apache/calcite/rel/logical/LogicalFilter.java:
##########
@@ -135,9 +133,7 @@ public static LogicalFilter create(final RelNode input,
RexNode condition,
final RelMetadataQuery mq = cluster.getMetadataQuery();
final RelTraitSet traitSet = cluster.traitSetOf(Convention.NONE)
.replaceIfs(RelCollationTraitDef.INSTANCE,
- () -> RelMdCollation.filter(mq, input))
- .replaceIf(RelDistributionTraitDef.INSTANCE,
- () -> RelMdDistribution.filter(mq, input));
+ () -> RelMdCollation.filter(mq, input));
Review Comment:
@xiedeyantu We can discuss this issue in CALCITE-6899
--
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]