org.apache.hadoop.hive.ql.optimizer.listbucketingpruner
Class LBExprProcFactory
java.lang.Object
org.apache.hadoop.hive.ql.optimizer.PrunerExpressionOperatorFactory
org.apache.hadoop.hive.ql.optimizer.listbucketingpruner.LBExprProcFactory
public class LBExprProcFactory
- extends PrunerExpressionOperatorFactory
Expression processor factory for list bucketing pruning. Each processor tries to
convert the expression subtree into a list bucketing pruning expression. This
expression is then used to figure out which skewed value to be used
genPruner
public static ExprNodeDesc genPruner(String tabAlias,
ExprNodeDesc pred,
Partition part)
throws SemanticException
- Generates the list bucketing pruner for the expression tree.
- Parameters:
tabAlias
- The table alias of the partition table that is being considered
for pruningpred
- The predicate from which the list bucketing pruner needs to be
generatedpart
- The partition this walker is walking
- Throws:
SemanticException
getColumnProcessor
public static NodeProcessor getColumnProcessor()
- Instantiate column processor.
- Returns:
Copyright © 2014 The Apache Software Foundation. All rights reserved.