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

zhiming she commented on SPARK-39743:
-------------------------------------

[~yeachan153] 

Only some more important parameters are supported in spark, such as 
`avro.mapred.deflate.level`. Other less important parameters are usually not 
supported in spark, such as `avro.mapred.zstd.level` and 
`parquet.compression.codec.zstd.level`. Unless there is a special reason.

In addition, the problem you mentioned does exist, and I will modify the 
corresponding parameter description in the document later.

> 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
>            Priority: Minor
>
> 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