AngersZhuuuu commented on a change in pull request #30869:
URL: https://github.com/apache/spark/pull/30869#discussion_r572079883



##########
File path: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala
##########
@@ -2876,6 +2877,33 @@ class HiveDDLSuite
     }
   }
 
+  test("SPARK-33865: Hive DDL with avro should check col name") {
+    withTable("t1") {
+      withView("v") {
+        spark.range(1).createTempView("v")
+
+        val e1 = intercept[SchemaParseException] {

Review comment:
       > Shall we unify the exception type? It's weird if different formats use 
different exception types.
   
   Yea, we can do this  since we.a unify spark's exception. add a sub-task 
https://issues.apache.org/jira/browse/SPARK-34402
   




----------------------------------------------------------------
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.

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