Skip to content

Commit

Permalink
Disable fastpath reading for some data types in ORC
Browse files Browse the repository at this point in the history
  • Loading branch information
wypb committed Sep 6, 2024
1 parent da2d44b commit 74af92b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ class SelectiveIntegerDirectColumnReader
bool dataVInts = stripe.getUseVInts(data);

format = stripe.format();
version = convertRleVersion(stripe.getEncoding(encodingKey).kind());
if (format == velox::dwrf::DwrfFormat::kDwrf) {
ints = createDirectDecoder</*isSigned*/ true>(
stripe.getStream(data, params.streamLabels().label(), true),
dataVInts,
numBytes);
} else if (format == velox::dwrf::DwrfFormat::kOrc) {
version = convertRleVersion(stripe.getEncoding(encodingKey).kind());
ints = createRleDecoder</*isSigned*/ true>(
stripe.getStream(data, params.streamLabels().label(), true),
version,
Expand Down

0 comments on commit 74af92b

Please sign in to comment.