Skip to content

Commit

Permalink
ORC-990: [C++] Fix undefined behavior of RowReaderImpl::seekToRowGroup
Browse files Browse the repository at this point in the history
This fixes #903
  • Loading branch information
rip-nsk authored Sep 10, 2021
1 parent 4a03df9 commit ebf33dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c++/src/Reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ namespace orc {

void RowReaderImpl::seekToRowGroup(uint32_t rowGroupEntryId) {
// store positions for selected columns
std::vector<std::list<uint64_t>> positions;
std::list<std::list<uint64_t>> positions;
// store position providers for selected colimns
std::unordered_map<uint64_t, PositionProvider> positionProviders;

Expand Down

0 comments on commit ebf33dc

Please sign in to comment.