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

Jesus Camacho Rodriguez commented on CALCITE-3149:
--------------------------------------------------

[~hyuan], I have a quick question. There seem to be some places where we rely 
on reference equality to compare types:
https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/rex/RexUtil.java#L2610
Is that contract still valid after this patch went in?

> CACHE in RelDataTypeFactoryImpl can't be garbage collected 
> -----------------------------------------------------------
>
>                 Key: CALCITE-3149
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3149
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Haisheng Yuan
>            Assignee: Haisheng Yuan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.21.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Key and Value are pointing to the same object, even with soft value 
> references, the objects in CACHE will not be garbage collected. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to