You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2016/07/09 07:31:11 UTC
[jira] [Created] (SPARK-16457) Wrong messages when CTAS with a
Partition By clause
Xiao Li created SPARK-16457:
-------------------------------
Summary: 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