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/09 07:39:11 UTC

[jira] [Commented] (SPARK-16457) Wrong messages when CTAS with a Partition By clause

    [ https://issues.apache.org/jira/browse/SPARK-16457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15368984#comment-15368984 ] 

Apache Spark commented on SPARK-16457:
--------------------------------------

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

> Wrong messages when CTAS with a Partition By clause
> ---------------------------------------------------
>
>                 Key: SPARK-16457
>                 URL: https://issues.apache.org/jira/browse/SPARK-16457
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>
> When doing a CTAS with a Partition By clause, we got a wrong error message. For example,
> {noformat}
> CREATE TABLE gen__tmp
> PARTITIONED BY (key string)
> AS SELECT key, value FROM mytable1
> {noformat}
> {noformat}
> Operation not allowed: Schema may not be specified in a Create Table As Select (CTAS) statement(line 2, pos 0)
> {noformat}



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