org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule
public class ConvertAssignToUnnestRule extends AbstractUsedVariablesProcessingRule
Before plan__parent UNNEST( $v2 : iterate( $v1 ) ) ASSIGN( $v1 : sf1( $v0 ) ) plan__child where plan__parent does not use $v1 and $v0 is defined in plan__child. sf1 is a scalar function that has a unnesting implementation. After plan__parent UNNEST( $v2 : uf1( $v0 ) ) plan__child
hasRun, usedVariables
Constructor | Description |
---|---|
ConvertAssignToUnnestRule() |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
processOperator(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef,
org.apache.hyracks.algebricks.core.algebra.base.IOptimizationContext context) |
rewritePost, rewritePre, rewritePreTrackingUsedVariables
protected boolean processOperator(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef, org.apache.hyracks.algebricks.core.algebra.base.IOptimizationContext context) throws org.apache.hyracks.algebricks.common.exceptions.AlgebricksException
processOperator
in class AbstractUsedVariablesProcessingRule
org.apache.hyracks.algebricks.common.exceptions.AlgebricksException
Copyright © 2019 Apache Software Foundation. All rights reserved.