You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Ian Maxon (Jira)" <ji...@apache.org> on 2021/05/12 18:48:00 UTC

[jira] [Assigned] (ASTERIXDB-2884) Nested UDF calls with constant argument NPEs

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

Ian Maxon reassigned ASTERIXDB-2884:
------------------------------------

    Assignee: Dmitry Lychagin  (was: Ian Maxon)

> 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)