You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/02/02 09:13:00 UTC
[jira] [Commented] (IMPALA-11056) Allow Java UDFs to fail query when exception is thrown
[ https://issues.apache.org/jira/browse/IMPALA-11056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485646#comment-17485646 ]
ASF subversion and git services commented on IMPALA-11056:
----------------------------------------------------------
Commit 504e0d00121bb11b54bbd754d52c1f3f66d29d20 in impala's branch refs/heads/master from Steve Carlin
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=504e0d0 ]
IMPALA-11056: Create option to fail query on Java UDF exceptions
This commit will create a new query option,
"abort_java_udf_on_exception". The current and default behavior
is that when the Java UDF throws an exception, a warning is logged
and the function returns NULL. If the query option is set to
true, the query will fail.
Change-Id: Ifece20cf16a6575f1c498238f754440e870e2ce9
Reviewed-on: http://gerrit.cloudera.org:8080/18080
Reviewed-by: Kurt Deschler <kd...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Aman Sinha <am...@cloudera.com>
> 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
> Assignee: Steve Carlin
> Priority: Major
>
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org