[ https://issues.apache.org/jira/browse/SPARK-16559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li reassigned SPARK-16559: ------------------------------- Assignee: Xiao Li > Got java.lang.ArithmeticException when Num of Buckets is Set to Zero > -------------------------------------------------------------------- > > Key: SPARK-16559 > URL: https://issues.apache.org/jira/browse/SPARK-16559 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.0.0 > Reporter: Xiao Li > Assignee: Xiao Li > Priority: Minor > > Got a run-time java.lang.ArithmeticException when num of buckets is set to > zero. > For example, > {noformat} > CREATE TABLE t USING PARQUET > OPTIONS (PATH '${path.toString}') > CLUSTERED BY (a) SORTED BY (b) INTO 0 BUCKETS > AS SELECT 1 AS a, 2 AS b > {noformat} > The exception we got is > {noformat} > ERROR org.apache.spark.executor.Executor: Exception in task 0.0 in stage 1.0 > (TID 2) > java.lang.ArithmeticException: / by zero > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org