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

Fix offset value for generating test data in parquet_chunked_reader_test.cu #15200

Merged

Conversation

ttnghia
Copy link
Contributor

@ttnghia ttnghia commented Mar 1, 2024

In parquet_chunked_reader_test.cu, when generating test data, there is an offset value that should increase at every iteration. It is for shifting the null positions of each column such that the generating table will not have all nulls in the same rows. Somehow, it was left unchanged across all iterations, thus we need to fix that.

Signed-off-by: Nghia Truong <[email protected]>
@ttnghia ttnghia added tests Unit testing for project libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Mar 1, 2024
@ttnghia ttnghia requested a review from nvdbaranec March 1, 2024 00:17
@ttnghia ttnghia self-assigned this Mar 1, 2024
@ttnghia ttnghia requested a review from a team as a code owner March 1, 2024 00:17
@ttnghia ttnghia requested a review from karthikeyann March 1, 2024 00:17
@ttnghia
Copy link
Contributor Author

ttnghia commented Mar 1, 2024

We also have another solution for this: remove offset (https://github.com/rapidsai/cudf/pull/15200/files#diff-bddf79ae45acf3e5dc587f957f981bcf4b3f981727f9e300773b6ac0920b0b56R73) completely without any changes to the current test.

@ttnghia
Copy link
Contributor Author

ttnghia commented Mar 19, 2024

/merge

@rapids-bot rapids-bot bot merged commit ea40596 into rapidsai:branch-24.04 Mar 19, 2024
75 checks passed
@ttnghia ttnghia deleted the fix_parquet_chunk_reader_test branch March 19, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change tests Unit testing for project
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants