git commit: [SPARK-4152] [SQL] Avoid data change in CTAS while table already existed

2014-11-03 Thread marmbrus
Repository: spark Updated Branches: refs/heads/master c238fb423 - e83f13e8d [SPARK-4152] [SQL] Avoid data change in CTAS while table already existed CREATE TABLE t1 (a String); CREATE TABLE t1 AS SELECT key FROM src; – throw exception CREATE TABLE if not exists t1 AS SELECT key FROM src;

git commit: [SPARK-4152] [SQL] Avoid data change in CTAS while table already existed

2014-11-03 Thread marmbrus
Repository: spark Updated Branches: refs/heads/branch-1.2 572300ba8 - 6104754f7 [SPARK-4152] [SQL] Avoid data change in CTAS while table already existed CREATE TABLE t1 (a String); CREATE TABLE t1 AS SELECT key FROM src; – throw exception CREATE TABLE if not exists t1 AS SELECT key FROM