mirror of
https://github.com/apache/impala.git
synced 2026-02-01 03:00:22 -05:00
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 <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>