xndai commented on a change in pull request #1884:
URL: https://github.com/apache/calcite/pull/1884#discussion_r416318476



##########
File path: core/src/main/java/org/apache/calcite/rel/RelCollationTraitDef.java
##########
@@ -61,18 +65,21 @@ public RelCollation getDefault() {
 
   public RelNode convert(
       RelOptPlanner planner,
+      RelBuilder builder,
       RelNode rel,
       RelCollation toCollation,
+      Convention toConvention,

Review comment:
       This inherits the base class interface. For other traits, we need a 
convention so we can create corresponding physical rels. Unfortunately for 
convention trait def, this is redundant. 




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to