public class HivePushdownSnapshotFilterRule extends org.apache.calcite.plan.RelRule<HivePushdownSnapshotFilterRule.Config>
VirtualColumn.SNAPSHOT_ID reference to TableScan.
This rule traverse the logical expression in HiveFilter operators and search for
predicates like
snapshotId <= 12345677899
The literal is set in the RelOptHiveTable.getHiveTableMD() object wrapped by
HiveTableScan
and the original predicate in the HiveFilter is replaced with literal true.
HiveAugmentSnapshotMaterializationRule| Modifier and Type | Class and Description |
|---|---|
static interface |
HivePushdownSnapshotFilterRule.Config |
org.apache.calcite.plan.RelRule.Done, org.apache.calcite.plan.RelRule.MatchHandler<R extends org.apache.calcite.plan.RelOptRule>, org.apache.calcite.plan.RelRule.OperandBuilder, org.apache.calcite.plan.RelRule.OperandDetailBuilder<R extends org.apache.calcite.rel.RelNode>, org.apache.calcite.plan.RelRule.OperandTransform| Modifier and Type | Field and Description |
|---|---|
static org.apache.calcite.plan.RelOptRule |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
onMatch(org.apache.calcite.plan.RelOptRuleCall call) |
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unorderedCopyright © 2024 The Apache Software Foundation. All rights reserved.