aboutsummaryrefslogtreecommitdiff
path: root/protocol/src/main/protobuf
diff options
context:
space:
mode:
authorArina Ielchiieva <arina.yelchiyeva@gmail.com>2018-03-20 18:29:45 +0000
committerArina Ielchiieva <arina.yelchiyeva@gmail.com>2018-04-27 11:41:22 +0300
commitc6549e58859397c88cb1de61b4f6eee52a07ed0c (patch)
tree60a4a3d48d095f5afe7d9e07a86a8114be4e85b2 /protocol/src/main/protobuf
parent84cd83495adf7b0a80932535809c58a1cd3324e9 (diff)
DRILL-6331: Revisit Hive Drill native parquet implementation to be exposed to Drill optimizations (filter / limit push down, count to direct scan)
1. Factored out common logic for Drill parquet reader and Hive Drill native parquet readers: AbstractParquetGroupScan, AbstractParquetRowGroupScan, AbstractParquetScanBatchCreator. 2. Rules that worked previously only with ParquetGroupScan, now can be applied for any class that extends AbstractParquetGroupScan: DrillFilterItemStarReWriterRule, ParquetPruneScanRule, PruneScanRule. 3. Hive populated partition values based on information returned from Hive metastore. Drill populates partition values based on path difference between selection root and actual file path. Before ColumnExplorer populated partition values based on Drill approach. Since now ColumnExplorer populates values for parquet files from Hive tables, `populateImplicitColumns` method logic was changed to populated partition columns only based on given partition values. 4. Refactored ParquetPartitionDescriptor to be responsible for populating partition values rather than storing this logic in parquet group scan class. 5. Metadata class was moved to separate metadata package (org.apache.drill.exec.store.parquet.metadata). Factored out several inner classed to improve code readability. 6. Collected all Drill native parquet reader unit tests into one class TestHiveDrillNativeParquetReader, also added new tests to cover new functionality. 7. Reduced excessive logging when parquet files metadata is read closes #1214
Diffstat (limited to 'protocol/src/main/protobuf')
-rw-r--r--protocol/src/main/protobuf/UserBitShared.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocol/src/main/protobuf/UserBitShared.proto b/protocol/src/main/protobuf/UserBitShared.proto
index 0e10d0da3..5b89a8196 100644
--- a/protocol/src/main/protobuf/UserBitShared.proto
+++ b/protocol/src/main/protobuf/UserBitShared.proto
@@ -330,6 +330,7 @@ enum CoreOperatorType {
FLATTEN = 40;
LATERAL_JOIN = 41;
UNNEST = 42;
+ HIVE_DRILL_NATIVE_PARQUET_ROW_GROUP_SCAN = 43;
}
/* Registry that contains list of jars, each jar contains its name and list of function signatures.