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)