Skip to content

Refactor io::orc::ProtobufWriter - #12877

Merged
rapids-bot[bot] merged 16 commits into
NVIDIA:branch-23.04from
ttnghia:refactor_protocol_buffer
Mar 14, 2023
Merged

rapids-bot[bot] merged 16 commits into
NVIDIA:branch-23.04from
ttnghia:refactor_protocol_buffer

Conversation

@ttnghia

@ttnghia ttnghia commented Mar 2, 2023 •

Copy link
Copy Markdown
Contributor

This refactors the class cudf::io::orc::ProtobufWriter, making it independent from the ORC writer buffer. From now, a new instance of ProtobufWriter will work on its own buffer. That avoids touching the ORC writer's internal states.

The PR is part of solution for #12792.

ttnghia added 2 commits March 1, 2023 11:22
Signed-off-by: Nghia Truong <[email protected]>
@ttnghia ttnghia added feature request New feature or request 2 - In Progress Currently a work in progress libcudf Affects libcudf (C++/CUDA) code. Spark Functionality that helps Spark RAPIDS non-breaking Non-breaking change Reliability labels Mar 2, 2023
@ttnghia ttnghia self-assigned this Mar 2, 2023
@ttnghia
ttnghia marked this pull request as ready for review March 6, 2023 18:14
@ttnghia
ttnghia requested a review from a team as a code owner March 6, 2023 18:14
@ttnghia ttnghia added 3 - Ready for Review Ready for review by team and removed 2 - In Progress Currently a work in progress labels Mar 6, 2023
@ttnghia
ttnghia requested a review from vuule March 7, 2023 05:04

@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.

Is this based on my issue #7015 or a convergent idea? :)

Some comments about implementation details.

Comment thread cpp/src/io/orc/orc.hpp Resolved
Comment thread cpp/src/io/orc/orc.hpp Resolved
@randerzander

Copy link
Copy Markdown
Contributor

benchmark bot, please test this PR

@ttnghia ttnghia added the cuIO cuIO issue label Mar 9, 2023
@ttnghia
ttnghia requested a review from vuule March 10, 2023 16:41
Comment thread cpp/src/io/orc/orc.hpp Resolved

@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.

💯

@DaceT

DaceT commented Mar 14, 2023

Copy link
Copy Markdown

benchmark bot, please test this PR

@nvdbaranec nvdbaranec 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.

Looks ok. One comment on a possible clarifying constructor.

Comment thread cpp/src/io/orc/writer_impl.cu Resolved
@ttnghia
ttnghia requested a review from nvdbaranec March 14, 2023 21:33
@vuule vuule added 5 - Ready to Merge Testing and reviews complete, ready to merge and removed 3 - Ready for Review Ready for review by team labels Mar 14, 2023
@ttnghia

ttnghia commented Mar 14, 2023

Copy link
Copy Markdown
Contributor Author

/merge

@rapids-bot
rapids-bot Bot merged commit 745d35e into NVIDIA:branch-23.04 Mar 14, 2023
@ttnghia
ttnghia deleted the refactor_protocol_buffer branch March 14, 2023 23:28
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 cuIO cuIO issue feature request New feature or request libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change Spark Functionality that helps Spark RAPIDS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants