Modifier and Type | Class and Description |
---|---|
static class |
ListBucketingPruner.DynamicMultiDimensionalCollection
Note: this class is not designed to be used in general but for list bucketing pruner only.
|
Constructor and Description |
---|
ListBucketingPruner() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.fs.Path[] |
prune(ParseContext ctx,
Partition part,
ExprNodeDesc pruner)
Prunes to the directories which match the skewed keys in where clause.
|
ParseContext |
transform(ParseContext pctx)
All transformation steps implement this interface.
|
public ParseContext transform(ParseContext pctx) throws SemanticException
Transform
transform
in interface Transform
pctx
- input parse contextSemanticException
public static org.apache.hadoop.fs.Path[] prune(ParseContext ctx, Partition part, ExprNodeDesc pruner)
transform(ParseContext)
can be checked vianewcd = new ExprNodeConstantDesc(cd.getTypeInfo(), null)
child_nd instanceof ExprNodeConstantDesc && ((ExprNodeConstantDesc) child_nd).getValue() == null)
ctx
- parse contextpart
- partitionpruner
- expression node treeCopyright © 2017 The Apache Software Foundation. All rights reserved.