Skip to content

ClusterByPlan Leaf Logical Operator

ClusterByPlan is a LeafNode (Spark SQL).

ClusterByPlan is used to create a ClusterByParserUtils.

To be removed

They say the following:

This class will be removed when we integrate with OSS Spark's CLUSTER BY implementation.

See https://github.com/apache/spark/pull/42577

Creating Instance

ClusterByPlan takes the following to be created:

  • ClusterBySpec
  • Start Index
  • Stop Index
  • parenStartIndex
  • parenStopIndex
  • Antlr's ParserRuleContext

ClusterByPlan is created when: