use of org.apache.drill.exec.store.parquet.RowGroupReadEntry in project drill by apache.
the class HiveDrillNativeParquetScan method getSpecificScan.
@Override
public SubScan getSpecificScan(int minorFragmentId) {
List<RowGroupReadEntry> readEntries = getReadEntries(minorFragmentId);
HivePartitionHolder subPartitionHolder = new HivePartitionHolder();
for (RowGroupReadEntry readEntry : readEntries) {
List<String> values = hivePartitionHolder.get(readEntry.getPath());
subPartitionHolder.add(readEntry.getPath(), values);
}
return new HiveDrillNativeParquetRowGroupScan(getUserName(), hiveStoragePlugin, readEntries, columns, subPartitionHolder, confProperties, readerConfig, filter, getTableMetadata().getSchema());
}
Aggregations