Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/16672#discussion_r100684307
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala
---
@@ -1431,4 +1431,30 @@ class HiveDDLSuite
}
}
}
+
+ test("insert data to a table which has altered the table location " +
+ "to an not exist location should success") {
+ withTable("t") {
+ withTempDir { dir =>
+ spark.sql(
+ s"""create table t(a string, b int)
--- End diff --
General style suggestions. Please use upper case for SQL keywords. For
example, in this SQL statement can be improved to
```
CREATE TABLE t(a STRING, b INT)
USING parquet
OPTIONS(path "xyz")
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]