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

Use uvector in replace_nulls; Fix sort_helper::grouped_value doc #7256

Merged
merged 6 commits into from
Feb 4, 2021

Conversation

isVoid
Copy link
Contributor

@isVoid isVoid commented Jan 29, 2021

Small PR to provide two fixes:

@isVoid isVoid requested a review from a team as a code owner January 29, 2021 22:22
@isVoid isVoid added bug Something isn't working non-breaking Non-breaking change 4 - Needs Review Waiting for reviewer to review or respond libcudf Affects libcudf (C++/CUDA) code. labels Jan 29, 2021
@isVoid isVoid self-assigned this Jan 29, 2021
Co-authored-by: Vukasin Milovanovic <[email protected]>
Copy link
Contributor

@rgsl888prabhu rgsl888prabhu left a comment

Choose a reason for hiding this comment

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

LGTM, have to update copyright

@codecov
Copy link

codecov bot commented Jan 30, 2021

Codecov Report

Merging #7256 (b241e64) into branch-0.18 (8860baf) will increase coverage by 0.09%.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##           branch-0.18    #7256      +/-   ##
===============================================
+ Coverage        82.09%   82.18%   +0.09%     
===============================================
  Files               97      100       +3     
  Lines            16474    16949     +475     
===============================================
+ Hits             13524    13930     +406     
- Misses            2950     3019      +69     
Impacted Files Coverage Δ
python/cudf/cudf/__init__.py 100.00% <ø> (ø)
python/cudf/cudf/_fuzz_testing/parquet.py 0.00% <ø> (ø)
python/cudf/cudf/_lib/__init__.py 100.00% <ø> (ø)
python/cudf/cudf/_typing.py 92.30% <ø> (ø)
python/cudf/cudf/core/__init__.py 100.00% <ø> (ø)
python/cudf/cudf/core/abc.py 87.23% <ø> (ø)
python/cudf/cudf/core/buffer.py 80.00% <ø> (+0.95%) ⬆️
python/cudf/cudf/core/column/__init__.py 100.00% <ø> (ø)
python/cudf/cudf/core/column/categorical.py 92.57% <ø> (-0.78%) ⬇️
python/cudf/cudf/core/column/column.py 87.37% <ø> (-0.77%) ⬇️
... and 78 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 019d7cc...b241e64. Read the comment docs.

@@ -99,7 +99,7 @@ struct sort_groupby_helper {
/**
* @brief Groups a column of values according to `keys`
*
* The order of values within each group is undefined.
* The values within each group maintain their original order.
Copy link
Member

Choose a reason for hiding this comment

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

Update file copyright dates.

@@ -387,7 +387,7 @@ std::unique_ptr<cudf::column> replace_nulls_policy_impl(cudf::column_view const&
auto valid_it = cudf::detail::make_validity_iterator(*device_in);
auto in_begin = thrust::make_zip_iterator(thrust::make_tuple(index, valid_it));

rmm::device_vector<cudf::size_type> gather_map(input.size());
rmm::device_uvector<cudf::size_type> gather_map(input.size(), stream);
Copy link
Member

Choose a reason for hiding this comment

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

I think you should also update line 405 below (cudf::detail::gather call) to pass it the same stream.

@harrism harrism added 0 - Waiting on Author Waiting for author to respond to review and removed 4 - Needs Review Waiting for reviewer to review or respond labels Feb 2, 2021
@harrism
Copy link
Member

harrism commented Feb 2, 2021

This PR was opened during burndown, so really it should target branch-0.19. In this case it's probably safe, but please be careful in the future.

@harrism harrism added 5 - Ready to Merge Testing and reviews complete, ready to merge and removed 0 - Waiting on Author Waiting for author to respond to review labels Feb 2, 2021
@isVoid
Copy link
Contributor Author

isVoid commented Feb 3, 2021

rerun tests

@kkraus14
Copy link
Collaborator

kkraus14 commented Feb 4, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit fb33b94 into rapidsai:branch-0.18 Feb 4, 2021
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
None yet
Development

Successfully merging this pull request may close these issues.

6 participants