You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../../src/main/python/arithmetic_ops_test.py::test_div_by_zero_ansi[a/b] 22/06/02 02:34:22 ERROR Executor: Exception in task 3.0 in stage 1.0 (TID 7)
org.apache.spark.SparkArithmeticException: Division by zero. To return NULL instead, use `try_divide`. If necessary set "spark.sql.ansi.enabled" to "false" (except for ANSI interval type) to bypass this error.
== SQL(line 1, position 1) ==
a/b
^^^
at org.apache.spark.sql.errors.QueryExecutionErrors$.divideByZeroError(QueryExecutionErrors.scala:184) ~[spark-catalyst_2.12-3.3.1-SNAPSHOT.jar:3.3.1-SNAPSHOT]
at org.apache.spark.sql.errors.QueryExecutionErrors.divideByZeroError(QueryExecutionErrors.scala) ~[spark-catalyst_2.12-3.3.1-SNAPSHOT.jar:3.3.1-SNAPSHOT]
at org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage1.processNext(Unknown Source) ~[?:?]
at org.apache.spark.sql.execution.BufferedRowIterator.hasNext(BufferedRowIterator.java:43) ~[spark-sql_2.12-3.3.1-SNAPSHOT.jar:3.3.1-SNAPSHOT]
at org.apache.spark.sql.execution.WholeStageCodegenExec$$anon$1.hasNext(WholeStageCodegenExec.scala:760) ~[spark-sql_2.12-3.3.1-SNAPSHOT.jar:3.3.1-SNAPSHOT]
at org.apache.spark.sql.execution.SparkPlan.$anonfun$getByteArrayRdd$1(SparkPlan.scala:364) ~[spark-sql_2.12-3.3.1-SNAPSHOT.jar:3.3.1-SNAPSHOT]
at org.apache.spark.rdd.RDD.$anonfun$mapPartitionsInternal$2(RDD.scala:890) ~[spark-core_2.12-3.3.1-SNAPSHOT.jar:3.3.1-SNAPSHOT]
at org.apache.spark.rdd.RDD.$anonfun$mapPartitionsInternal$2$adapted(RDD.scala:890) ~[spark-core_2.12-3.3.1-SNAPSHOT.jar:3.3.1-SNAPSHOT]
at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52) ~[spark-core_2.12-3.3.1-SNAPSHOT.jar:3.3.1-SNAPSHOT]
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: