You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Haisheng Yuan (Jira)" <ji...@apache.org> on 2020/04/16 16:05:00 UTC
[jira] [Created] (CALCITE-3932) Make data type cache thread local,
non-evictable
Haisheng Yuan created CALCITE-3932:
--------------------------------------
Summary: Make data type cache thread local, non-evictable
Key: CALCITE-3932
URL: https://issues.apache.org/jira/browse/CALCITE-3932
Project: Calcite
Issue Type: Improvement
Components: core
Reporter: Haisheng Yuan
Data type can be evicted out of cache, which is global, thread-safe. `=` based type comparison may suffer from cache eviction.
It seems not necessary to cache them globally, because most of them are RelRecordType, which is query dependent, not sharable between different queries.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)