mihaibudiu commented on code in PR #4275:
URL: https://github.com/apache/calcite/pull/4275#discussion_r2021611301


##########
core/src/main/java/org/apache/calcite/rel/logical/LogicalCalc.java:
##########
@@ -117,9 +115,7 @@ public static LogicalCalc create(final RelNode input,
     final RelTraitSet traitSet = cluster.traitSet()
         .replace(Convention.NONE)
         .replaceIfs(RelCollationTraitDef.INSTANCE,
-            () -> RelMdCollation.calc(mq, input, program))
-        .replaceIf(RelDistributionTraitDef.INSTANCE,
-            () -> RelMdDistribution.calc(mq, input, program));
+            () -> RelMdCollation.calc(mq, input, program));

Review Comment:
   These have been here for 10 years. @julianhyde seems to be the one who has 
added them, maybe he can say whether this change makes sense.



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