File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
sql/hive/src/test/scala/org/apache/spark/sql/hive Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2413,7 +2413,7 @@ class HiveDDLSuite
24132413 schema = schema,
24142414 options = Map (" fileFormat" -> " parquet" ))
24152415 }.getMessage
2416- assert(e.contains(" Cannot create tables with unknown type" ))
2416+ assert(e.contains(" Cannot create tables with null type" ))
24172417 }
24182418 }
24192419
@@ -2426,7 +2426,7 @@ class HiveDDLSuite
24262426 schema = schema,
24272427 options = Map .empty[String , String ])
24282428 }.getMessage
2429- assert(e.contains(" Cannot create tables with unknown type" ))
2429+ assert(e.contains(" Cannot create tables with null type" ))
24302430 }
24312431 }
24322432
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ class HiveOrcSourceSuite extends OrcSuite with TestHiveSingleton {
121121 msg = intercept[AnalysisException ] {
122122 sql(" select null" ).write.mode(" overwrite" ).orc(orcDir)
123123 }.getMessage
124- assert(msg.contains(" ORC data source does not support unknown data type." ))
124+ assert(msg.contains(" ORC data source does not support null data type." ))
125125
126126 msg = intercept[AnalysisException ] {
127127 spark.udf.register(" testType" , () => new IntervalData ())
You can’t perform that action at this time.
0 commit comments