Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/19882#discussion_r155167645
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/orc/OrcPartitionDiscoverySuite.scala
---
@@ -186,8 +159,8 @@ class OrcPartitionDiscoverySuite extends QueryTest with
TestHiveSingleton with B
makePartitionDir(base, defaultPartitionName, "pi" -> pi, "ps" ->
ps))
}
- read
- .option(ConfVars.DEFAULTPARTITIONNAME.varname,
defaultPartitionName)
+ spark.read
+ .option("hive.exec.default.partition.name", defaultPartitionName)
--- End diff --
Yes. In fact, Apache ORC doesn't have this params.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]