You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Steve Carlin (Jira)" <ji...@apache.org> on 2021/12/09 21:24:00 UTC

[jira] [Created] (IMPALA-11056) Allow Java UDFs to fail query when exception is thrown

Steve Carlin created IMPALA-11056:
-------------------------------------

             Summary: Allow Java UDFs to fail query when exception is thrown
                 Key: IMPALA-11056
                 URL: https://issues.apache.org/jira/browse/IMPALA-11056
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend
            Reporter: Steve Carlin


Currently, the functionality for Hive UDFs is such that if the java code throws an exception, the backend logs it as a warning and treats the function as if it returned NULL.

Sometimes it is desirable to allow the Java function to diagnose an error as fatal to the query. 

Since this feature would break backward compatibility, the default behavior should be the current behavior.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)