Skip to content

Fix total_byte_size in Parquet row group metadata - #14802

Merged
rapids-bot[bot] merged 8 commits into
NVIDIA:branch-24.02from
etseidl:fix_row_group_size
Jan 23, 2024
Merged

Fix total_byte_size in Parquet row group metadata#14802
rapids-bot[bot] merged 8 commits into
NVIDIA:branch-24.02from
etseidl:fix_row_group_size

Conversation

@etseidl

@etseidl etseidl commented Jan 19, 2024

Copy link
Copy Markdown
Contributor

Description

The total_byte_size field in the row group metadata should be "[t]otal byte size of all the uncompressed column data in this row group". cuDF currently populates this field with the compressed size. This PR fixes that and adds a test.

Checklist

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

@etseidl
etseidl requested a review from a team as a code owner January 19, 2024 18:36
@etseidl
etseidl requested review from shrshi and vyasr January 19, 2024 18:36
@copy-pr-bot

copy-pr-bot Bot commented Jan 19, 2024

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot added the libcudf Affects libcudf (C++/CUDA) code. label Jan 19, 2024
Comment thread cpp/tests/io/parquet_writer_test.cpp Outdated

@vuule vuule left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice catch! I wonder how this impacted the chunked reader.

@vuule
vuule requested a review from nvdbaranec January 19, 2024 19:10
Co-authored-by: Vukasin Milovanovic <vmilovanovic@nvidia.com>
@vuule vuule added bug Something isn't working cuIO cuIO issue non-breaking Non-breaking change labels Jan 19, 2024
@vuule

vuule commented Jan 19, 2024

Copy link
Copy Markdown
Contributor

/ok to test

@vyasr vyasr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One very minor suggestion, but feel free to skip. Nice find!

Comment thread cpp/tests/io/parquet_writer_test.cpp Outdated
Comment thread cpp/tests/io/parquet_writer_test.cpp Outdated
@vyasr

vyasr commented Jan 19, 2024

Copy link
Copy Markdown
Contributor

/ok to test

@vuule

vuule commented Jan 19, 2024

Copy link
Copy Markdown
Contributor

/ok to test
checking if I can add to the command to add some variety to my comments

@vuule

vuule commented Jan 22, 2024

Copy link
Copy Markdown
Contributor

/ok to test

@vuule

vuule commented Jan 23, 2024

Copy link
Copy Markdown
Contributor

/merge

@rapids-bot
rapids-bot Bot merged commit ef3ce4b into NVIDIA:branch-24.02 Jan 23, 2024
@etseidl
etseidl deleted the fix_row_group_size branch January 23, 2024 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cuIO cuIO issue libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants