8000 Fix device compression when writing Parquet files without using nvCOMP by vuule · Pull Request #18644 · rapidsai/cudf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix device compression when writing Parquet files without using nvCOMP #18644

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

Merged

Conversation

vuule
Copy link
Contributor
@vuule vuule commented May 2, 2025

Description

Fixed an issue in the Parquet writer where all compression would fail when device compression with internal kernels is used.
Root cause is that a compressed chunk size was not being set, as it's not required for the nvCOMP implementation.

Expanded a few tests to use internal kernels for compression; planning to make more extensive test changes to improve test coverage of compression/decompression internal kernels in a separate PR.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

Copy link
copy-pr-bot bot commented May 2, 2025

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label May 2, 2025
@vuule vuule added bug Something isn't working non-breaking Non-breaking change labels May 2, 2025
@@ -58,7 +58,7 @@ enum class usage_policy : uint8_t { OFF, STABLE, ALWAYS };
*/
usage_policy get_env_policy()
{
static auto const env_val = getenv_or<std::string>("LIBCUDF_NVCOMP_POLICY", "STABLE");
auto const env_val = getenv_or<std::string>("LIBCUDF_NVCOMP_POLICY", "STABLE");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not static to enable testing

@vuule
Copy link
Contributor Author
vuule commented May 2, 2025

/ok to test

@vuule vuule marked this pull request as ready for review May 2, 2025 20:15
@vuule vuule requested a review from a team as a code owner May 2, 2025 20:15
@vuule vuule requested review from devavret and shrshi May 2, 2025 20:15
@GregoryKimball GregoryKimball moved this to Burndown in libcudf 8000 May 4, 2025
@vuule
Copy link
Contributor Author
vuule commented May 5, 2025

/merge

@rapids-bot rapids-bot bot merged commit 8ece12e into rapidsai:branch-25.06 May 5, 2025
112 checks passed
@GregoryKimball GregoryKimball moved this from Burndown to Landed in libcudf May 5, 2025
vyasr added a commit to vyasr/cudf that referenced this pull request May 6, 2025
@vuule vuule deleted the bug-kernel-comp-write_parquet branch May 13, 2025 18:33
@vuule
Copy link
Contributor Author
vuule commented May 13, 2025

forgot to link when opened, let's try now
issue #18445

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
Status: Landed
Development

Successfully merging this pull reque 3AD5 st may close these issues.

4 participants
0