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

Stamatis Zampetakis commented on CALCITE-2855:
----------------------------------------------

I was referring to the cache inside RelOptCluster. It seems that a 
RelMetadataQuery instance is reused as long as there are no rules applied on 
some node in the same cluster. If I understand well you want to be able to 
reuse a RelMetadataQuery object more than this but I don't know if this is 
safe. Have you checked CALCITE-1812?

> 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: 1h
>  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