We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
spark.conf
1 parent 26e6645 commit b4b1122Copy full SHA for b4b1122
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/orc/OrcTest.scala
@@ -51,12 +51,12 @@ abstract class OrcTest extends QueryTest with SQLTestUtils with BeforeAndAfterAl
51
52
protected override def beforeAll(): Unit = {
53
super.beforeAll()
54
- originalConfORCImplementation = conf.getConf(ORC_IMPLEMENTATION)
55
- conf.setConf(ORC_IMPLEMENTATION, orcImp)
+ originalConfORCImplementation = spark.conf.get(ORC_IMPLEMENTATION)
+ spark.conf.set(ORC_IMPLEMENTATION.key, orcImp)
56
}
57
58
protected override def afterAll(): Unit = {
59
- conf.setConf(ORC_IMPLEMENTATION, originalConfORCImplementation)
+ spark.conf.set(ORC_IMPLEMENTATION.key, originalConfORCImplementation)
60
super.afterAll()
61
62
0 commit comments