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



##########
File path: core/src/main/java/org/apache/calcite/plan/Convention.java
##########
@@ -66,6 +67,13 @@ default boolean 
useAbstractConvertersForConversion(RelTraitSet fromTraits,
     return false;
   }
 
+  /**
+   * Return RelFactories struct for the convention which can be used to build 
RelNode
+   */
+  default RelFactories.Struct getRelFactories() {
+    return RelFactories.DEFAULT_STRUCT;
+  }

Review comment:
       That's not a big problem, a builder to `RelFactories ` works.




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