Class NullableFixedByteAlignedReaders.CorruptionDetectingNullableDateReader
java.lang.Object
org.apache.drill.exec.store.parquet.columnreaders.ColumnReader<V>
org.apache.drill.exec.store.parquet.columnreaders.NullableFixedByteAlignedReaders.CorruptionDetectingNullableDateReader
- Enclosing class:
- NullableFixedByteAlignedReaders
public static class NullableFixedByteAlignedReaders.CorruptionDetectingNullableDateReader
extends ColumnReader<V>
Old versions of Drill were writing a non-standard format for date. See DRILL-4203
For files that lack enough metadata to determine if the dates are corrupt, we must just
correct values when they look corrupt during this low level read.
-
Field Summary
Modifier and TypeFieldDescriptionprotected DrillBuf
protected BaseDataValueVector
protected NullableVectorDefinitionSetter
protected int
Fields inherited from class org.apache.drill.exec.store.parquet.columnreaders.ColumnReader
DICTIONARY_ENCODINGS, VALUE_ENCODINGS, vectorData
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processPages
(long recordsToReadInThisPass) protected void
readField
(long recordsToReadInThisPass) Methods inherited from class org.apache.drill.exec.store.parquet.columnreaders.ColumnReader
capacity, checkVectorCapacityReached, clear, determineSize, getRecordsReadInCurrentPass, hitRowGroupEnd, postPageRead, processPageData, processPagesAsync, readIntLittleEndian, readPage, readPageAsync, readRecords, readRecordsAsync, readRecordsInBulk, readValues, recordsRequireDecoding, reset, totalValuesReadAndReadyToReadInPage, updatePosition, updateReadyToReadPosition
-
Field Details
-
dataTypeLengthInBytes
protected int dataTypeLengthInBytes -
bytebuf
-
castedBaseVector
-
castedVectorMutator
-
-
Method Details
-
readField
protected void readField(long recordsToReadInThisPass) -
processPages
- Overrides:
processPages
in classColumnReader<V extends ValueVector>
- Throws:
IOException
-