[jira] [Assigned] (SPARK-16559) Got java.lang.ArithmeticException when Num of Buckets is Set to Zero

2016-10-18 Thread Xiao Li (JIRA)

 [ 
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



[jira] [Assigned] (SPARK-16559) Got java.lang.ArithmeticException when Num of Buckets is Set to Zero

2016-07-14 Thread Apache Spark (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-16559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-16559:


Assignee: Apache Spark

> 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: Apache Spark
>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] [Assigned] (SPARK-16559) Got java.lang.ArithmeticException when Num of Buckets is Set to Zero

2016-07-14 Thread Apache Spark (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-16559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-16559:


Assignee: (was: Apache Spark)

> 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