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

[FEA] Add GZIP compression support to parquet writer #14509

Open
GregoryKimball opened this issue Nov 28, 2023 · 0 comments
Open

[FEA] Add GZIP compression support to parquet writer #14509

GregoryKimball opened this issue Nov 28, 2023 · 0 comments
Labels
0 - Backlog In queue waiting for assignment cuIO cuIO issue feature request New feature or request libcudf Affects libcudf (C++/CUDA) code. Spark Functionality that helps Spark RAPIDS

Comments

@GregoryKimball
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The parquet format in Apache Spark supports many compression codecs (link), including: none, uncompressed, snappy, gzip, lzo, brotli, lz4, zstd.

cuDF has both internal implementation and an nvCOMP integration to provide compression and decompression codecs. For the parquet format, GZIP compression is DEFLATE plus a header. nvCOMP does not support the deflate version with this header, so the reader still uses the internal gzip decompression implementation. We don't have internal gzip compression implementation. To support GZIP in the PQ writer we would need to use nvCOMP GDEFLATE codec + write the header on our own.

Describe the solution you'd like
Add support for GZIP compressioning to the cuDF parquet writer by adding a header writing implementation and using nvCOMP deflate.

Describe alternatives you've considered
n/a

Additional context
Also see Spark-RAPIDS request here: NVIDIA/spark-rapids#9718

@GregoryKimball GregoryKimball added feature request New feature or request 0 - Backlog In queue waiting for assignment libcudf Affects libcudf (C++/CUDA) code. cuIO cuIO issue Spark Functionality that helps Spark RAPIDS labels Nov 28, 2023
@GregoryKimball GregoryKimball moved this to To be revisited in libcudf Nov 28, 2023
@GregoryKimball GregoryKimball removed the status in libcudf Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - Backlog In queue waiting for assignment cuIO cuIO issue feature request New feature or request libcudf Affects libcudf (C++/CUDA) code. Spark Functionality that helps Spark RAPIDS
Projects
Status: No status
Development

No branches or pull requests

1 participant