Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support snappy #191

Merged
merged 1 commit into from
Jan 25, 2025
Merged

Support snappy #191

merged 1 commit into from
Jan 25, 2025

Conversation

rodrigo-molina
Copy link
Contributor

Add support for the Snappy compression modes provided by xerial/snappy-java: Basic (unframed), Framed and Hadoop compatible.

Decompression support is added for Basic (unframed) and Framed compression. Note that Hadoop compatible decompression is not included as Hadoop libraries would be needed.

For additional details on compatibility modes, refer to the snappy-java compatibility notes.

In our specific use case, we are using the WriteMode.HadoopCompatible mode to ensure compatibility with Spark.

@rodrigo-molina rodrigo-molina changed the title Support snappy compression Support snappy Jan 22, 2025
@lhns
Copy link
Owner

lhns commented Jan 25, 2025

Thank you for your contribution!

@lhns lhns merged commit 62af9e4 into lhns:main Jan 25, 2025
2 checks passed
@rodrigo-molina
Copy link
Contributor Author

Hi @lhns,

Thank you for getting back to me so quickly!

Please let me know when you're able to release it. We'll be ready to propagate the update to our production systems as soon as it's available 🚀

erikvanoosten added a commit to zio/zio-streams-compress that referenced this pull request Mar 8, 2025
Add support for the Snappy compression formats provided by xerial/snappy-java: Framed, Basic (unframed) and Hadoop/Spark compatible.

Decompression is only supported for Framed and Basic (unframed) formats because the Hadoop/Spark format is not supported by xerial/snappy-java.

Inspired by lhns/fs2-compress#191.
erikvanoosten added a commit to zio/zio-streams-compress that referenced this pull request Mar 8, 2025
Add support for the Snappy compression formats provided by
xerial/snappy-java: Framed, Basic (unframed) and Hadoop/Spark
compatible.

Decompression is only supported for Framed and Basic (unframed) formats
because the Hadoop/Spark format is not supported by xerial/snappy-java.

Inspired by lhns/fs2-compress#191.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants