Github user gengliangwang commented on a diff in the pull request: https://github.com/apache/spark/pull/21001#discussion_r180190850 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala --- @@ -1459,11 +1459,6 @@ class HiveDDLSuite sql(s"ALTER TABLE tbl UNSET TBLPROPERTIES ('${forbiddenPrefix}foo')") } assert(e2.getMessage.contains(forbiddenPrefix + "foo")) - - val e3 = intercept[AnalysisException] { - sql(s"CREATE TABLE tbl (a INT) TBLPROPERTIES ('${forbiddenPrefix}foo'='anything')") - } - assert(e3.getMessage.contains(forbiddenPrefix + "foo")) --- End diff -- The error message is ``` "Table or view 'tbl' already exists in database 'default';" ``` This is soft of behavior change, as we check table existence first.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org