use of water.parser.parquet.ChunkReadSupport in project h2o-3 by h2oai.
the class VecParquetReader method initReader.
private void initReader() throws IOException {
assert reader == null;
List<BlockMetaData> blocks = metadata.getBlocks();
MessageType fileSchema = metadata.getFileMetaData().getSchema();
reader = new InternalParquetRecordReader<>(new ChunkReadSupport(writer, chunkSchema));
Configuration conf = VecFileSystem.makeConfiguration(vec);
reader.initialize(fileSchema, metadata.getFileMetaData().getKeyValueMetaData(), VecFileSystem.VEC_PATH, blocks, conf);
}
Aggregations