Skip to content

Commit

Permalink
Update cpp/src/io/orc/writer_impl.cu
Browse files Browse the repository at this point in the history
Co-authored-by: Bradley Dice <[email protected]>
  • Loading branch information
vuule and bdice authored Dec 14, 2021
1 parent 7b4453f commit a83b31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/io/orc/writer_impl.cu
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ std::vector<StripeInformation> writer::impl::gather_stripes(
hostdevice_2dvector<gpu::encoder_chunk_streams>* enc_streams,
hostdevice_2dvector<gpu::StripeStream>* strm_desc)
{
if (segmentation.num_stripes() == 0) return {};
if (segmentation.num_stripes() == 0) { return {}; }
std::vector<StripeInformation> stripes(segmentation.num_stripes());
for (auto const& stripe : segmentation.stripes) {
for (size_t col_idx = 0; col_idx < enc_streams->size().first; col_idx++) {
Expand Down

0 comments on commit a83b31a

Please sign in to comment.