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

[REVIEW] Adding support for explode to cuDF #7140

Merged
merged 10 commits into from
Jan 25, 2021
Prev Previous commit
Next Next commit
fixing unsigned int -> size_type
  • Loading branch information
hyperbolic2346 committed Jan 16, 2021
commit 7e1161208401b36b1a02a1a5e0fc730e4591040c
2 changes: 1 addition & 1 deletion cpp/src/reshape/explode.cu
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ std::unique_ptr<table> explode_functor::operator()<list_view>(
explode column. This unrolls the top level of lists. Then we need to insert the explode column
back into the table and return it. */
lists_column_view lc{input_table.column(explode_column_idx)};
rmm::device_uvector<unsigned int> gather_map_indices(lc.child().size(), stream, mr);
rmm::device_uvector<size_type> gather_map_indices(lc.child().size(), stream, mr);
auto offsets = lc.offsets();

auto offsets_minus_one = thrust::make_transform_iterator(offsets.begin<size_type>(),
Expand Down