Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ static class NullableFixedBinaryAsTimeStampReader extends NullableFixedByteAlign
NullableFixedBinaryAsTimeStampReader(ParquetRecordReader parentReader, ColumnDescriptor descriptor,
ColumnChunkMetaData columnChunkMetaData, boolean fixedLength, NullableTimeStampVector v, SchemaElement schemaElement) throws ExecutionSetupException {
super(parentReader, descriptor, columnChunkMetaData, fixedLength, v, schemaElement);

// The width of each element of the TimeStampVector is 8 bytes (64 bits) instead of 12 bytes.
dataTypeLengthInBits = NullableTimeStampHolder.WIDTH * 8;
}

@Override
Expand All @@ -127,8 +130,6 @@ protected void readField(long recordsToReadInThisPass) {
valueVec.getMutator().setSafe(valuesReadInCurrentPass + i, getDateTimeValueFromBinary(binaryTimeStampValue, true));
}
}
// The width of each element of the TimeStampVector is 8 bytes (64 bits) instead of 12 bytes.
dataTypeLengthInBits = NullableTimeStampHolder.WIDTH * 8;
}
}

Expand Down