Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.1.0
-
None
-
None
Description
Replace current GroupingSets just using expression
case class GroupingSets( selectedGroupByExprs: Seq[Seq[Expression]], groupByExprs: Seq[Expression], child: LogicalPlan, aggregations: Seq[NamedExpression]) extends UnaryNode { override def output: Seq[Attribute] = aggregations.map(_.toAttribute) // Needs to be unresolved before its translated to Aggregate + Expand because output attributes // will change in analysis. override lazy val resolved: Boolean = false }