Julian Hyde created CALCITE-1548: ------------------------------------ Summary: Instantiate function objects once per query Key: CALCITE-1548 URL: https://issues.apache.org/jira/browse/CALCITE-1548 Project: Calcite Issue Type: Bug Reporter: Julian Hyde Assignee: Julian Hyde
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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)