[jira] [Commented] (SPARK-16559) Got java.lang.ArithmeticException when Num of Buckets is Set to Zero
[ https://issues.apache.org/jira/browse/SPARK-16559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588228#comment-15588228 ] Dongjoon Hyun commented on SPARK-16559: --- Thank you! > 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
[jira] [Commented] (SPARK-16559) Got java.lang.ArithmeticException when Num of Buckets is Set to Zero
[ https://issues.apache.org/jira/browse/SPARK-16559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15587713#comment-15587713 ] Xiao Li commented on SPARK-16559: - Yeah, resolved. > 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 >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
[jira] [Commented] (SPARK-16559) Got java.lang.ArithmeticException when Num of Buckets is Set to Zero
[ https://issues.apache.org/jira/browse/SPARK-16559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15587711#comment-15587711 ] Dongjoon Hyun commented on SPARK-16559: --- Hi, [~smilegator]. It seems to be resolved in your PR, didn't it? > 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 >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
[jira] [Commented] (SPARK-16559) Got java.lang.ArithmeticException when Num of Buckets is Set to Zero
[ https://issues.apache.org/jira/browse/SPARK-16559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15378664#comment-15378664 ] Apache Spark commented on SPARK-16559: -- User 'gatorsmile' has created a pull request for this issue: https://github.com/apache/spark/pull/14210 > 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 >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