public class EmptyColumnReader extends Object implements org.apache.flink.formats.parquet.vector.reader.ColumnReader<org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector>
ColumnReader.
This reader is to handle parquet files that have not been updated to the latest Schema. When reading a parquet file with the latest schema, parquet file might not have the new field. The EmptyColumnReader is used to handle such scenarios.
| Constructor and Description |
|---|
EmptyColumnReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
readToVector(int readNumber,
org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector vector) |
public void readToVector(int readNumber,
org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector vector)
throws IOException
readToVector in interface org.apache.flink.formats.parquet.vector.reader.ColumnReader<org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector>IOExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.