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

Stanislav Savulchik commented on SPARK-34651:
---------------------------------------------

[~dongjoon]

bq. Well, it's a different codec technically. Apache Spark has its own 
ZStandardCodec class instead of Apache Hadoop ZStandardCodec. 

I believe you are referring to [org.apache.spark.io.ZStdCompressionCodec 
|https://github.com/apache/spark/blob/1f6089b165181472e581ed0466694d28ed9b8de8/core/src/main/scala/org/apache/spark/io/CompressionCodec.scala#L213]
 that is used for spark internal use cases like compressing shuffled data, 
isn't it?

bq. BTW, please note that Apache Hadoop ZStandardCodec exists only at Hadoop 
2.9+ (HADOOP-13578) and Apache Spark still supports Hadoop 2.7 distribution.

I guess it is the reason why org.apache.hadoop.io.compress.ZStandardCodec is 
not on the 
[list|https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/CompressionCodecs.scala#L29].
 

Thank you!

> Improve ZSTD support
> --------------------
>
>                 Key: SPARK-34651
>                 URL: https://issues.apache.org/jira/browse/SPARK-34651
>             Project: Spark
>          Issue Type: Umbrella
>          Components: Spark Core, SQL
>    Affects Versions: 3.2.0
>            Reporter: Dongjoon Hyun
>            Priority: Major
>




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

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

Reply via email to