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: [email protected]
For additional commands, e-mail: [email protected]