File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1413,12 +1413,13 @@ options.
14131413 - Dataset and DataFrame API ` explode ` has been deprecated, alternatively, use ` functions.explode() ` with ` select ` or ` flatMap `
14141414 - Dataset and DataFrame API ` registerTempTable ` has been deprecated and replaced by ` createOrReplaceTempView `
14151415
1416- - Changes to ` CREATE TABLE ... LOCATION ` behavior.
1416+ - Changes to ` CREATE TABLE ... LOCATION ` behavior for Hive tables .
14171417 - From Spark 2.0, ` CREATE TABLE ... LOCATION ` is equivalent to ` CREATE EXTERNAL TABLE ... LOCATION `
14181418 in order to prevent accidental dropping the existing data in the user-provided locations.
1419- Please see [ SPARK-15276] ( https://issues.apache.org/jira/browse/SPARK-15276 ) for details.
1419+ That means, a Hive table created in Spark SQL with the user-specified location is always a Hive external table.
1420+ Dropping external tables will not remove the data. Users are not allowed to specify the location for Hive managed tables.
1421+ Note that this is different from the Hive behavior.
14201422 - As a result, ` DROP TABLE ` statements on those tables will not remove the data.
1421- Note that this is different than the Hive behavior.
14221423
14231424## Upgrading From Spark SQL 1.5 to 1.6
14241425
You can’t perform that action at this time.
0 commit comments