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

Instantiate function objects once per query

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.11.0
    • Component/s: None
    • Labels:
      None

      Description

      If a user-defined function is based on a class and its methods are non-static then it needs to be instantiated; at present the code generator seems to instantiate it once per iteration, but it should be instantiated in a static member, therefore once per query.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: