Skip to content

Commit

Permalink
Move WriteFinalOffsetsBatched out of the for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaseeb123 committed Sep 25, 2024
1 parent 74ee6ae commit cab885d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/io/parquet/reader_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,9 +409,9 @@ void reader::impl::decode_page_data(read_mode mode, size_t skip_rows, size_t num
}
}
}
// Write the final offsets for all list and string buffers in a batched manner
cudf::io::parquet::detail::WriteFinalOffsetsBatched(final_offsets, out_buffers, _mr, _stream);
}
// Write the final offsets for all list and string buffers in a batched manner
cudf::io::parquet::detail::WriteFinalOffsetsBatched(final_offsets, out_buffers, _mr, _stream);

// update null counts in the final column buffers
for (size_t idx = 0; idx < subpass.pages.size(); idx++) {
Expand Down

0 comments on commit cab885d

Please sign in to comment.