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/04/20 00:13:00 UTC
[jira] [Created] (ASTERIXDB-2884) Nested UDF calls with constant
argument NPEs
Ian Maxon created ASTERIXDB-2884:
------------------------------------
Summary: 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: Ian Maxon
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)