Skip to content

Commit 474cc70

Browse files
committed
Missing reverts in tests
1 parent 933e661 commit 474cc70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/HiveOrcSourceSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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())

0 commit comments

Comments
 (0)