[
https://issues.apache.org/jira/browse/CALCITE-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Starr updated CALCITE-4257:
---------------------------------
Description: CachingRelMetadataProvider.cached should be parametrizable to
allow for usage of LRU or soft reference maps. Furthermore, a mechanism should
be added to prevent RelNode from being cached. Finally, trivial calls should
not be cached, because it likely as expensive to cache them as it is just
perform them again. (was: My company currently has custom version of
CachingRelMetadataProvider because we need to able to configure the type of Map
it uses. It would be nice if it just took it as an argument.)
> Improve CachingRelMetadataProvider
> ----------------------------------
>
> Key: CALCITE-4257
> URL: https://issues.apache.org/jira/browse/CALCITE-4257
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: James Starr
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> CachingRelMetadataProvider.cached should be parametrizable to allow for usage
> of LRU or soft reference maps. Furthermore, a mechanism should be added to
> prevent RelNode from being cached. Finally, trivial calls should not be
> cached, because it likely as expensive to cache them as it is just perform
> them again.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)