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/04 16:35:00 UTC

[jira] [Created] (ASTERIXDB-2897) Non-batched Python UDFs can execute on MISSING

Ian Maxon created ASTERIXDB-2897:
------------------------------------

             Summary: Non-batched Python UDFs can execute on MISSING
                 Key: ASTERIXDB-2897
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2897
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: FUN - Functions
    Affects Versions: 0.9.7
            Reporter: Dmitry Lychagin
            Assignee: Ian Maxon


The logic around null and missing in Python UDFs right now is flawed. It will skip missing values if a null is encountered first. The check must be done by first checking for missing and observing any nulls, and only then seeing if null-call is true and calling the function dependent on whether or not any args were null. 



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