ClusterByPlan Leaf Logical Operator¶
ClusterByPlan
is a LeafNode
(Spark SQL).
ClusterByPlan
is used to create a ClusterByParserUtils.
To be removed
This class will be removed when we integrate with OSS Spark's CLUSTER BY implementation.
Creating Instance¶
ClusterByPlan
takes the following to be created:
- ClusterBySpec
- Start Index
- Stop Index
-
parenStartIndex
-
parenStopIndex
- Antlr's
ParserRuleContext
ClusterByPlan
is created when:
DeltaSqlAstBuilder
is requested to parse CLUSTER BY clause