Skip to content

[REVIEW] Add support for child columns to mutable_column_device_view#4783

Merged
davidwendt merged 10 commits intorapidsai:branch-0.14from
davidwendt:mutable-children
Apr 8, 2020
Merged

[REVIEW] Add support for child columns to mutable_column_device_view#4783
davidwendt merged 10 commits intorapidsai:branch-0.14from
davidwendt:mutable-children

Conversation

@davidwendt
Copy link
Copy Markdown
Contributor

Closes #4491
Although column_device_view supports creating child columns as column_device_view objects in the column_device_view::create() method, the mutable_column_device_view did not. Child columns were ignored since we did not think creating mutable columns would be practical for variable-width column types for which the child column concept was created.

This PR enables supporting children for mutable_column_device_view so columns and their children could be updated in-place using sufficiently created set of child columns. This had come up with implementing column contatenate for strings columns where we wanted to pass a single device column to internal functions instead passing the individual child columns.

Likewise, future nested column support could reasonably do in-place operations into fixed-width child columns.

@davidwendt davidwendt requested a review from a team as a code owner April 2, 2020 21:58
@davidwendt davidwendt self-assigned this Apr 2, 2020
@davidwendt davidwendt added 2 - In Progress Currently a work in progress libcudf Affects libcudf (C++/CUDA) code. labels Apr 2, 2020
@davidwendt davidwendt requested a review from trevorsm7 April 2, 2020 22:02
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2020

Codecov Report

Merging #4783 into branch-0.14 will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           branch-0.14    #4783   +/-   ##
============================================
  Coverage        88.54%   88.54%           
============================================
  Files               51       51           
  Lines             9848     9848           
============================================
  Hits              8720     8720           
  Misses            1128     1128           

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 95c3b4e...8422c77. Read the comment docs.

@davidwendt davidwendt changed the title [WIP] Add support for child columns to mutable_column_device_view [REVIEW] Add support for child columns to mutable_column_device_view Apr 3, 2020
@davidwendt davidwendt added 3 - Ready for Review Ready for review by team and removed 2 - In Progress Currently a work in progress labels Apr 3, 2020
@GPUtester
Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@davidwendt davidwendt merged commit 8c65796 into rapidsai:branch-0.14 Apr 8, 2020
@davidwendt davidwendt deleted the mutable-children branch April 8, 2020 12:16
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 libcudf Affects libcudf (C++/CUDA) code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] mutable_column_device_view fails silently for columns with children

5 participants