You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Leonard Lausen (Jira)" <ji...@apache.org> on 2021/04/22 19:58:00 UTC

[jira] [Created] (SPARK-35196) DataFrameWriter.text support zstd compression

Leonard Lausen created SPARK-35196:
--------------------------------------

             Summary: DataFrameWriter.text support zstd compression
                 Key: SPARK-35196
                 URL: https://issues.apache.org/jira/browse/SPARK-35196
             Project: Spark
          Issue Type: Task
          Components: PySpark
    Affects Versions: 3.1.1
            Reporter: Leonard Lausen


[http://spark.apache.org/docs/3.1.1/api/python/reference/api/pyspark.sql.DataFrameWriter.text.html] specifies that only the following compression codecs are supported: `none, bzip2, gzip, lz4, snappy and deflate`

However, RDD API supports compression with zstd if users specify 'org.apache.hadoop.io.compress.ZStandardCodec' compressor in the saveAsTextFile method.

Please also expose zstd in the DataFrameWriter.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org