File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
core/src/test/scala/org/apache/spark/sql/sources
hive/src/test/scala/org/apache/spark/sql/hive/execution Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -29,21 +29,21 @@ import org.apache.spark.util.Utils
2929
3030abstract class CompressionTestUtils extends QueryTest with SQLTestUtils with BeforeAndAfterAll {
3131
32- var originalParquetCompressionCodeName : String = _
33- var originalOrcCompressionCodeName : String = _
32+ var originalParquetCompressionCodecName : String = _
33+ var originalOrcCompressionCodecName : String = _
3434
3535 protected override def beforeAll (): Unit = {
3636 super .beforeAll()
37- originalParquetCompressionCodeName = spark.conf.get(SQLConf .PARQUET_COMPRESSION .key)
38- originalOrcCompressionCodeName = spark.conf.get(SQLConf .ORC_COMPRESSION .key)
37+ originalParquetCompressionCodecName = spark.conf.get(SQLConf .PARQUET_COMPRESSION .key)
38+ originalOrcCompressionCodecName = spark.conf.get(SQLConf .ORC_COMPRESSION .key)
3939 spark.conf.set(SQLConf .PARQUET_COMPRESSION .key, " snappy" )
4040 spark.conf.set(SQLConf .ORC_COMPRESSION .key, " snappy" )
4141 }
4242
4343 protected override def afterAll (): Unit = {
4444 try {
45- spark.conf.set(SQLConf .PARQUET_COMPRESSION .key, originalParquetCompressionCodeName )
46- spark.conf.set(SQLConf .ORC_COMPRESSION .key, originalOrcCompressionCodeName )
45+ spark.conf.set(SQLConf .PARQUET_COMPRESSION .key, originalParquetCompressionCodecName )
46+ spark.conf.set(SQLConf .ORC_COMPRESSION .key, originalOrcCompressionCodecName )
4747 } finally {
4848 super .afterAll()
4949 }
@@ -156,5 +156,4 @@ class CompressionSuite extends CompressionTestUtils with SharedSQLContext {
156156 )
157157 }
158158 }
159-
160- }
159+ }
Original file line number Diff line number Diff line change @@ -68,4 +68,4 @@ class HiveCompressionSuite extends CompressionTestUtils with TestHiveSingleton {
6868 )
6969 }
7070 }
71- }
71+ }
You can’t perform that action at this time.
0 commit comments