public class ListBucketingPruner extends Transform
| 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.
|
beginPerfLogging, endPerfLogging, endPerfLoggingpublic ParseContext transform(ParseContext pctx) throws SemanticException
Transformtransform in class Transformpctx - input parse contextSemanticExceptionpublic 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 © 2019 The Apache Software Foundation. All Rights Reserved.