Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6596

Enable function-level cache by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.38.0
    • 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.

      (The error was spotted by rrueda while reviewing PR 3978.)

      Attachments

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              julianhyde Julian Hyde
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: