Skip to content

Commit

Permalink
Update cpp/src/io/orc/reader_impl_decode.cu
Browse files Browse the repository at this point in the history
  • Loading branch information
ttnghia authored Oct 13, 2024
1 parent 37075fb commit 87a0fa9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/src/io/orc/reader_impl_decode.cu
Original file line number Diff line number Diff line change
Expand Up @@ -1066,8 +1066,9 @@ void reader_impl::decompress_and_decode_stripes(read_mode mode)

auto& stripe_data = _file_itm_data.lvl_stripe_data[level];
if (_metadata.per_file_metadata[0].ps.compression != orc::NONE) {
stripe_data[stripe_start - load_stripe_start] = {};
_stream.synchronize();
stripe_data[stripe_start - load_stripe_start] = {};

} else {
for (std::size_t i = 0; i < stripe_count; ++i) {
stripe_data[i + stripe_start - load_stripe_start] = {};
Expand Down

0 comments on commit 87a0fa9

Please sign in to comment.