hsyuan commented on a change in pull request #1860: [CALCITE-2970] Add 
abstractConverter only between derived and required traitset
URL: https://github.com/apache/calcite/pull/1860#discussion_r400967195
 
 

 ##########
 File path: core/src/main/java/org/apache/calcite/plan/Convention.java
 ##########
 @@ -44,7 +44,9 @@
    * @param toConvention Desired convention to convert to
    * @return Whether we should convert from this convention to toConvention
    */
-  boolean canConvertConvention(Convention toConvention);
+  default boolean canConvertConvention(Convention toConvention) {
+    return false;
 
 Review comment:
   [CALCITE-1148](https://github.com/apache/calcite/pull/210) introduced it. It 
is just a default value of the interface, no behavior changes.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to