yaooqinn commented on code in PR #50750: URL: https://github.com/apache/spark/pull/50750#discussion_r2065909192
########## sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala: ########## @@ -3377,4 +3377,21 @@ class HiveDDLSuite checkAnswer(sql("SELECT * FROM t1"), Row(0)) } } + + test("create table - partition column duplicates EMPTY_DATA_SCHEMA") { + withTable("t") { + val e = intercept[AnalysisException] { + sql("CREATE TABLE t (col int, b TIMESTAMP_NTZ) USING PARQUET PARTITIONED BY (col)") + } + // scalastyle:off + println(e) Review Comment: ```suggestion ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org