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] [Commented] (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:comment-tabpanel&focusedCommentId=15378544#comment-15378544 ] 

Apache Spark commented on SPARK-16556:
--------------------------------------

User 'gatorsmile' has created a pull request for this issue:
https://github.com/apache/spark/pull/14210

> 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
>
> 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