You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Xikui Wang (JIRA)" <ji...@apache.org> on 2017/10/18 19:55:00 UTC

[jira] [Created] (ASTERIXDB-2136) External UDF writes records without checking datatype

Xikui Wang created ASTERIXDB-2136:
-------------------------------------

             Summary: External UDF writes records without checking datatype
                 Key: ASTERIXDB-2136
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2136
             Project: Apache AsterixDB
          Issue Type: Bug
            Reporter: Xikui Wang
            Assignee: Xikui Wang


The result returned by external UDF is not verified by datatype. If the record type doesn't conform to the configuration, execution result will be written successfully, but it cannot be accessed by record reader due to the record type mismatch. 

Also, we intend to return NULL for an invalid input parameter, but it's not clear when the return type is a record, how to set the record to be MISSING/NULL. This will also cause a reading exception. For simplicity, we will throw an exception when UDF cannot produce the expected result.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)