[ https://issues.apache.org/jira/browse/ASTERIXDB-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xikui Wang resolved ASTERIXDB-2136. ----------------------------------- Resolution: Fixed Resolved with patch in https://asterix-gerrit.ics.uci.edu/#/c/2082/ > 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)