You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2024/09/25 20:32:00 UTC

[jira] [Created] (CALCITE-6596) Enable function-level cache by default

Julian Hyde created CALCITE-6596:
------------------------------------

             Summary: Enable function-level cache by default
                 Key: CALCITE-6596
                 URL: https://issues.apache.org/jira/browse/CALCITE-6596
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Hyde


CALCITE-5914 added the function-level cache (to allow functions such as REGEXP_CONTAINS to avoid computing expensive state every call) with the intention of having a default cache size of 1,000, but the code actually set the maximum size to 0, effectively disabling the cache.

This change sets the default to 1,000.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)