Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/11324#discussion_r53908236
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/text/TextSuite.scala
 ---
    @@ -57,6 +57,13 @@ class TextSuite extends QueryTest with SharedSQLContext {
         }
       }
     
    +  test("compression") {
    +    val tempDirPath = Utils.createTempDir().getAbsolutePath
    +    val df = sqlContext.read.text(testFile)
    +    df.write.option("compressionCodec", 
"GzipCodec").mode(SaveMode.Overwrite).text(tempDirPath)
    --- End diff --
    
    what are the mappings provided here? I personally find "GzipCodec" pretty 
annoying to use. Maybe we can create short keys for these, similar to how we 
handle compression elsewhere.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to