[ 
https://issues.apache.org/jira/browse/SPARK-39743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17655799#comment-17655799
 ] 

zzzzming95 commented on SPARK-39743:
------------------------------------

[~euigeun_chung] 

 

Currently, Spark uses `airCompressor` lib to support ORC writes, and does not 
support setting ZSTD levels~

https://github.com/airlift/aircompressor/blob/79265477482a4594efcc87aaef92b589c6ec2277/src/main/java/io/airlift/compress/zstd/ZstdCompressor.java#L113

> Unable to set zstd compression level while writing parquet files
> ----------------------------------------------------------------
>
>                 Key: SPARK-39743
>                 URL: https://issues.apache.org/jira/browse/SPARK-39743
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 3.2.0
>            Reporter: Yeachan Park
>            Assignee: zzzzming95
>            Priority: Minor
>             Fix For: 3.4.0
>
>
> While writing zstd compressed parquet files, the following setting 
> `spark.io.compression.zstd.level` does not have any affect with regards to 
> the compression level of zstd.
> All files seem to be written with the default zstd compression level, and the 
> config option seems to be ignored.
> Using the zstd cli tool, we confirmed that setting a higher compression level 
> for the same file tested in spark resulted in a smaller file.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to