[ 
https://issues.apache.org/jira/browse/CALCITE-2855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16771510#comment-16771510
 ] 

godfrey he commented on CALCITE-2855:
-------------------------------------

Not exactly.  
A new extended RelMetadataQuery instance will be created each time you use it, 
instead get a reusable instance from RelOptCluster#getMetadataQuery. So I need 
override RelOptCluster#getMetadataQuery to reduce number of extended 
RelMetadataQuery instances.

> Make RelOptCluster constructor public
> -------------------------------------
>
>                 Key: CALCITE-2855
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2855
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: godfrey he
>            Assignee: Julian Hyde
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.19.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Expose RelOptCluster Constructor outside package to allow override.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to