aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAndrew Or <andrew@databricks.com>2016-06-03 14:39:41 -0700
committerWenchen Fan <wenchen@databricks.com>2016-06-03 14:39:41 -0700
commitb1cc7da3e3c36cee59825e7b95e14b00ab1fe196 (patch)
tree994249ba2c4681303b734ef6012fad40c4ea9439 /python
parent11c83f83d5172167cb64513d5311b4178797d40e (diff)
downloadspark-b1cc7da3e3c36cee59825e7b95e14b00ab1fe196.tar.gz
spark-b1cc7da3e3c36cee59825e7b95e14b00ab1fe196.tar.bz2
spark-b1cc7da3e3c36cee59825e7b95e14b00ab1fe196.zip
[SPARK-15722][SQL] Disallow specifying schema in CTAS statement
## What changes were proposed in this pull request? As of this patch, the following throws an exception because the schemas may not match: ``` CREATE TABLE students (age INT, name STRING) AS SELECT * FROM boxes ``` but this is OK: ``` CREATE TABLE students AS SELECT * FROM boxes ``` ## How was this patch tested? SQLQuerySuite, HiveDDLCommandSuite Author: Andrew Or <andrew@databricks.com> Closes #13490 from andrewor14/ctas-no-column.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions