Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/19871#discussion_r154567195
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/sources/DDLSourceLoadSuite.scala
---
@@ -54,11 +55,17 @@ class DDLSourceLoadSuite extends DataSourceTest with
SharedSQLContext {
.load().schema == StructType(Seq(StructField("stringType",
StringType, nullable = false))))
}
- test("should fail to load ORC without Hive Support") {
- val e = intercept[AnalysisException] {
- spark.read.format("orc").load()
+ test("should fail to load ORC only if spark.sql.orc.enabled=false and
without Hive Support") {
--- End diff --
Oh, I confused with
[SQLQuerySuite.scala](https://github.com/apache/spark/pull/19871/files#diff-1ea02a6fab84e938582f7f87cc4d9ea1R2157)
in hive. Sorry, I'll remove this.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]