[ 
https://issues.apache.org/jira/browse/CALCITE-6596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde resolved CALCITE-6596.
----------------------------------
    Resolution: Fixed

Fixed in 
[cd6762e|https://github.com/apache/calcite/commit/cd6762e68f357fd46715107a55f6c0f342d9becb].

> 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
>            Assignee: Julian Hyde
>            Priority: Major
>             Fix For: 1.38.0
>
>
> 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.
> (The error was spotted by [~rrueda] while reviewing [PR 
> 3978|https://github.com/apache/calcite/pull/3978].)



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

Reply via email to