You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/11/08 18:44:36 UTC

[GitHub] [calcite] xndai commented on a change in pull request #1569: [CALCITE-3487] Should not hard code RelMetadataQuery class in Volcano…

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


With regards,
Apache Git Services