cloud-fan commented on a change in pull request #34259:
URL: https://github.com/apache/spark/pull/34259#discussion_r728161315



##########
File path: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala
##########
@@ -2999,4 +2999,27 @@ class HiveDDLSuite
       assert(spark.sparkContext.listJars().exists(_.contains(jarName)))
     }
   }
+
+  test("SPARK-36949: Disallow tables with ANSI intervals when the provider is 
Hive") {
+    val tbl = "tbl_with_ansi_intervals"
+    withTable(tbl) {
+      val errMsg = intercept[UnsupportedOperationException] {
+        sql(
+          s"""
+             |CREATE TABLE $tbl
+             |STORED AS ORC
+             |AS SELECT

Review comment:
       can we also test CREATE TABLE without SELECT?




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to