Class ConvertHiveParquetScanToDrillParquetScan
java.lang.Object
org.apache.calcite.plan.RelOptRule
org.apache.drill.exec.store.StoragePluginOptimizerRule
org.apache.drill.exec.planner.sql.logical.ConvertHiveParquetScanToDrillParquetScan
Convert Hive scan to use Drill's native parquet reader instead of Hive's native reader. It also adds a
project to convert/cast the output of Drill's native parquet reader to match the expected output of Hive's
native reader.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.plan.RelOptRule
org.apache.calcite.plan.RelOptRule.ConverterRelOptRuleOperand
-
Field Summary
Fields inherited from class org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory
-
Method Summary
Methods inherited from class org.apache.calcite.plan.RelOptRule
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
-
Field Details
-
INSTANCE
-
-
Method Details
-
matches
public boolean matches(org.apache.calcite.plan.RelOptRuleCall call) - Overrides:
matches
in classorg.apache.calcite.plan.RelOptRule
-
onMatch
public void onMatch(org.apache.calcite.plan.RelOptRuleCall call) - Specified by:
onMatch
in classorg.apache.calcite.plan.RelOptRule
-