You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2016/12/21 00:45:58 UTC
[jira] [Created] (CALCITE-1548) Instantiate function objects once
per query
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)