public class ConvertMetadataAggregateToDirectScanRule
extends org.apache.calcite.plan.RelOptRule
MetadataAggRel(metadataLevel=ROW_GROUP) \ DrillScanRelplan into
DrillDirectScanRelwhere
DrillDirectScanRel
is populated with row group metadata.
For the case when aggregate level is not ROW_GROUP, resulting plan will be the following:
MetadataAggRel(metadataLevel=FILE (or another non-ROW_GROUP value), createNewAggregations=false) \ DrillDirectScanRel
Modifier and Type | Field and Description |
---|---|
static ConvertMetadataAggregateToDirectScanRule |
INSTANCE |
Constructor and Description |
---|
ConvertMetadataAggregateToDirectScanRule() |
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, unordered
public static final ConvertMetadataAggregateToDirectScanRule INSTANCE
Copyright © 1970 The Apache Software Foundation. All rights reserved.