[ 
https://issues.apache.org/jira/browse/CALCITE-1548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde resolved CALCITE-1548.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.11.0

Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/599ea339.

> 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
>             Fix For: 1.11.0
>
>
> 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)

Reply via email to