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

Prevent use of invalid grid sizes in ORC reader and writer #17709

Merged
merged 9 commits into from
Jan 22, 2025

Conversation

vuule
Copy link
Contributor

@vuule vuule commented Jan 9, 2025

Description

Closes #15379

The Y dimension limit of the CUDA kernel grid is 65535. Some ORC processing kernels don't limit this dimension, making it depend on unbound values like row group count, stripe count, or column count.

This PR changes the grids of such kernels (mostly by making then 1D). No functional changes are made.

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 Jan 9, 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 Jan 9, 2025
@vuule vuule added bug Something isn't working non-breaking Non-breaking change labels Jan 9, 2025
cpp/tests/io/orc_test.cpp Outdated Show resolved Hide resolved
@vuule
Copy link
Contributor Author

vuule commented Jan 10, 2025

/ok to test

@vuule vuule marked this pull request as ready for review January 10, 2025 17:45
@vuule vuule requested a review from a team as a code owner January 10, 2025 17:45
@vuule vuule requested review from shrshi and davidwendt January 10, 2025 17:45
cpp/src/io/orc/stripe_data.cu Show resolved Hide resolved
@vuule vuule requested a review from davidwendt January 21, 2025 19:31
Copy link
Contributor

@davidwendt davidwendt left a comment

Choose a reason for hiding this comment

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

LGTM

@vuule vuule added the 5 - Ready to Merge Testing and reviews complete, ready to merge label Jan 21, 2025
@vuule
Copy link
Contributor Author

vuule commented Jan 22, 2025

/merge

@rapids-bot rapids-bot bot merged commit 489c5b6 into rapidsai:branch-25.02 Jan 22, 2025
106 checks passed
@vuule vuule deleted the bug-orc-grid-size branch January 22, 2025 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge Testing and reviews complete, ready to merge bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
Status: Landed
Development

Successfully merging this pull request may close these issues.

[BUG] ORC writer can't write files with more than 65535 row groups
3 participants