Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is related to
-
CALCITE-5914 Cache compiled regular expressions in SQL function runtime
-
- Closed
-
-
CALCITE-6585 In the Postgres TO_CHAR function, improve caching
-
- Closed
-