Support create lists column from a list_scalar - #8185
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.06 #8185 +/- ##
===============================================
Coverage ? 82.84%
===============================================
Files ? 105
Lines ? 17863
Branches ? 0
===============================================
Hits ? 14798
Misses ? 3065
Partials ? 0 Continue to review full report at Codecov.
|
harrism
left a comment
There was a problem hiding this comment.
I think stream and MR need to be used explicitly. Detail APIs should call detail APIs.
devavret
left a comment
There was a problem hiding this comment.
You can check in the beginning whether the size == 1 and make a mr that's either the default or the one passed in the arguments. Then you can use the same mr thoughout and avoid duplicating code.
ajschmidt8
left a comment
There was a problem hiding this comment.
Approving ops-codeowner file changes
list_scalarlist_scalar
list_scalar list_scalar
|
This PR ready to merge? |
|
Yup, I think it's good to go. |
|
@gpucibot merge |
This small PR is to replace the JNI implementation with the corresponding cudf API `make_column_from_scalar`. The PR #8185 has added the support for nested type, so it is ok to do this now. Signed-off-by: Firestarman <firestarmanllc@gmail.com> Authors: - Liangcai Li (https://github.com/firestarman) Approvers: - Bobby Wang (https://github.com/wbo4958) - Robert (Bobby) Evans (https://github.com/revans2) - Jason Lowe (https://github.com/jlowe) URL: #8310
This PR adds support to
make_column_from_scalarforlist_scalar. For 0-length columns, a well-formedLISTtype column, whose child column has the same column hierarchy to the row data stored inlist_scalaris returned.Example:
Closes #8088