xndai commented on a change in pull request #1569: [CALCITE-3487] Should not 
hard code RelMetadataQuery class in Volcano…
URL: https://github.com/apache/calcite/pull/1569#discussion_r344314524
 
 

 ##########
 File path: core/src/main/java/org/apache/calcite/plan/RelOptCluster.java
 ##########
 @@ -177,6 +177,14 @@ public void setMetadataQuery(Supplier<RelMetadataQuery> 
mqSupplier) {
     return (M) mq;
   }
 
+  /**
+   * Returns the RelMetadataQuery supplier
+   * @return The supplier of RelMetadataQuery
+   */
+  public Supplier<RelMetadataQuery> getMetadataQuerySupplier() {
+    return this.mqSupplier;
+  }
+
 
 Review comment:
   sounds good. will do.

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


With regards,
Apache Git Services

Reply via email to