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

Add null-count parameter to json experimental parse_data utility #13107

Merged
merged 14 commits into from
Apr 17, 2023

Conversation

davidwendt
Copy link
Contributor

@davidwendt davidwendt commented Apr 10, 2023

Description

Add null_count parameter to the cudf::io::json::experimental::detail::parse_data function which already accepts a null_mask. Normally, the callers already know the count. This unction can use the parameter to help build the output column.

Found while working on #13081
Contributes to: #11968

Checklist

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

@davidwendt davidwendt added 2 - In Progress Currently a work in progress libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Apr 10, 2023
@davidwendt davidwendt self-assigned this Apr 10, 2023
@davidwendt davidwendt added 3 - Ready for Review Ready for review by team and removed 2 - In Progress Currently a work in progress labels Apr 11, 2023
@davidwendt davidwendt marked this pull request as ready for review April 11, 2023 11:52
@davidwendt davidwendt requested a review from a team as a code owner April 11, 2023 11:52
@davidwendt davidwendt requested review from vyasr and mythrocks April 11, 2023 11:52
cpp/include/cudf/io/detail/data_casting.cuh Show resolved Hide resolved
cpp/include/cudf/io/detail/data_casting.cuh Outdated Show resolved Hide resolved
@davidwendt
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 7c3a34e into rapidsai:branch-23.06 Apr 17, 2023
@davidwendt davidwendt deleted the parse-data-null-count branch April 17, 2023 13:35
shwina pushed a commit to shwina/cudf that referenced this pull request Apr 18, 2023
…idsai#13107)

Add `null_count` parameter to the `cudf::io::json::experimental::detail::parse_data` function which already accepts a `null_mask`. Normally, the callers already know the count. This unction can use the parameter to help build the output column.

Found while working on rapidsai#13081
Contributes to: rapidsai#11968

Authors:
  - David Wendt (https://github.com/davidwendt)
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - Vyas Ramasubramani (https://github.com/vyasr)
  - Nghia Truong (https://github.com/ttnghia)

URL: rapidsai#13107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team improvement Improvement / enhancement to an existing function 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