Skip to content

Commit

Permalink
Update cpp/src/io/json/write_json.cu
Browse files Browse the repository at this point in the history
Co-authored-by: David Wendt <45795991+davidwendt@users.noreply.github.com>
  • Loading branch information
mhaseeb123 and davidwendt authored Oct 4, 2024
1 parent 8b5ab44 commit de8699c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/src/io/json/write_json.cu
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,9 @@ struct escape_strings_fn {
rmm::cuda_stream_view stream,
rmm::device_async_resource_ref mr)
{
if (column_v.is_empty()) // empty begets empty
if (column_v.is_empty()) { // empty begets empty
return make_empty_column(type_id::STRING);
}
auto [offsets_column, chars] =
cudf::strings::detail::make_strings_children(*this, column_v.size(), stream, mr);

Expand Down

0 comments on commit de8699c

Please sign in to comment.