You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/07/14 22:55:20 UTC

[jira] [Assigned] (SPARK-16556) Silent Ignore Bucket Specification When Creating Table Using Schema Inference

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

Apache Spark reassigned SPARK-16556:
------------------------------------

    Assignee: Apache Spark

> Silent Ignore Bucket Specification When Creating Table Using Schema Inference 
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-16556
>                 URL: https://issues.apache.org/jira/browse/SPARK-16556
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>            Assignee: Apache Spark
>
> When creating a data source table without explicit specification of schema or SELECT clause, we silently ignore the bucket specification (CLUSTERED BY... SORTED BY...). For example, 
> {noformat}
> CREATE TABLE jsonTable
> USING org.apache.spark.sql.json
> OPTIONS (
>   path '${tempDir.getCanonicalPath}'
> )
> CLUSTERED BY (inexistentColumnA) SORTED BY (inexistentColumnB) INTO 2 BUCKETS
> {noformat}
> Instead, we should issue an error message. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org