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

Ian Maxon resolved ASTERIXDB-2884.
----------------------------------
    Resolution: Fixed

> Nested UDF calls with constant argument NPEs
> --------------------------------------------
>
>                 Key: ASTERIXDB-2884
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2884
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: FUN - Functions
>    Affects Versions: 0.9.7
>            Reporter: Luke Ren
>            Assignee: Dmitry Lychagin
>            Priority: Major
>             Fix For: 0.9.7
>
>
> If you have a Python UDF with a body like:
> {code:python}
> def echo(a):
>     return a
> {code}
> And then define and subsequently call it as a SQL++ UDF nested within itself 
> with a constant argument like so:
> {code:sql}
> SELECT echo(echo(5))
> {code}
> A NPE is thrown. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to