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.
1 parent c3f0140 commit ac6b82cCopy full SHA for ac6b82c
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/text/TextSuite.scala
@@ -60,7 +60,7 @@ class TextSuite extends QueryTest with SharedSQLContext {
60
test("SPARK-13503 Support to specify the option for compression codec for TEXT") {
61
val testDf = sqlContext.read.text(testFile)
62
63
- Seq("bzip2", "deflate", "gzip").map { codecName =>
+ Seq("bzip2", "deflate", "gzip").foreach { codecName =>
64
val tempDir = Utils.createTempDir()
65
val tempDirPath = tempDir.getAbsolutePath()
66
testDf.write.option("compression", codecName).mode(SaveMode.Overwrite).text(tempDirPath)
0 commit comments