spark git commit: [SPARK-16229][SQL] Drop Empty Table After CREATE TABLE AS SELECT fails

2016-07-06 Thread wenchen
Repository: spark Updated Branches: refs/heads/branch-2.0 d5d2457e4 -> e956bd775 [SPARK-16229][SQL] Drop Empty Table After CREATE TABLE AS SELECT fails What changes were proposed in this pull request? In `CREATE TABLE AS SELECT`, if the `SELECT` query failed, the table should not exist.

spark git commit: [SPARK-16229][SQL] Drop Empty Table After CREATE TABLE AS SELECT fails

2016-07-06 Thread wenchen
Repository: spark Updated Branches: refs/heads/master 909c6d812 -> 21eadd1d8 [SPARK-16229][SQL] Drop Empty Table After CREATE TABLE AS SELECT fails What changes were proposed in this pull request? In `CREATE TABLE AS SELECT`, if the `SELECT` query failed, the table should not exist. For