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 2024/03/10 12:23:00 UTC
[jira] [Commented] (IMPALA-12565) When executing pmod (anyNumber, 0), it will cause the executor to crash
[ https://issues.apache.org/jira/browse/IMPALA-12565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17825047#comment-17825047 ]
ASF subversion and git services commented on IMPALA-12565:
----------------------------------------------------------
Commit 2963b29a322744abf1882fb410cbe566e24a3024 in impala's branch refs/heads/branch-3.4.2 from ttttttz
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=2963b29a3 ]
IMPALA-12565: Fix crash triggered by calling pmod() UDF
When the pmod() UDF is called, if the divisor is 0, it will
cause the impalad to crash. In this case, the result of the
pmod() UDF should be NULL.
Tests:
* add a test in exprs.test
Change-Id: Idcc274564a4b5b0872eb0c0c882c2f15e3247785
Reviewed-on: http://gerrit.cloudera.org:8080/20709
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
> When executing pmod (anyNumber, 0), it will cause the executor to crash
> ------------------------------------------------------------------------
>
> Key: IMPALA-12565
> URL: https://issues.apache.org/jira/browse/IMPALA-12565
> Project: IMPALA
> Issue Type: Bug
> Affects Versions: Impala 4.0.0, Impala 3.4.0, Impala 3.4.1, Impala 4.1.0, Impala 4.2.0, Impala 4.1.2, Impala 4.3.0
> Reporter: Zhi Tang
> Assignee: Zhi Tang
> Priority: Major
> Fix For: Impala 4.4.0
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org