| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql.optimizer.calcite.rules.views |
| Class and Description |
|---|
| HiveAggregateIncrementalRewritingRuleBase
This class implements the main algorithm of rewriting an MV maintenance plan to incremental.
|
| HiveAggregateIncrementalRewritingRuleBase.IncrementalComputePlan |
| HiveAggregateInsertDeleteIncrementalRewritingRule
This rule will perform a rewriting to prepare the plan for incremental
view maintenance in case there exist aggregation operator, so we can
avoid the INSERT OVERWRITE and use a MERGE statement instead.
|
| HiveAggregateInsertIncrementalRewritingRule
This rule will perform a rewriting to prepare the plan for incremental
view maintenance in case there exist aggregation operator, so we can
avoid the INSERT OVERWRITE and use a MERGE statement instead.
|
| HiveAggregatePartitionIncrementalRewritingRule
Rule to prepare the plan for incremental view maintenance if the view is partitioned and insert only:
Insert overwrite the partitions which are affected since the last rebuild only and leave the
rest of the partitions intact.
|
| HiveInsertOnlyScanWriteIdRule
This rule turns on populating writeId of insert only table scans.
|
| HiveJoinInsertDeleteIncrementalRewritingRule
This rule will perform a rewriting to prepare the plan for incremental
view maintenance in case there is no aggregation operator but some of the
source tables has delete operations, so we can avoid the INSERT OVERWRITE and use a
MULTI INSERT statement instead: one insert branch for inserted rows
and another for inserting deleted rows to delete delta.
|
| HiveJoinInsertIncrementalRewritingRule
This rule will perform a rewriting to prepare the plan for incremental
view maintenance in case there is no aggregation operator, so we can
avoid the INSERT OVERWRITE and use a INSERT statement instead.
|
| HiveMaterializedViewRule.HiveMaterializedViewOnlyAggregateRule |
| HiveMaterializedViewRule.HiveMaterializedViewProjectAggregateRule |
HiveRowIsDeletedPropagator
HiveRelShuttle to propagate rowIsDeleted column to all HiveRelNodes' rowType in the plan. |
Copyright © 2022 The Apache Software Foundation. All rights reserved.