Skip to content

Commit

Permalink
remove duplicated columns in agg results (#7937)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgbo-ustc authored Nov 14, 2024
1 parent 0b899c0 commit 59d5248
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ case class LazyAggregateExpandRule(session: SparkSession) extends Rule[SparkPlan
s"resultExpressions:${partialAggregate.resultExpressions}")
partialAggregate.copy(
groupingExpressions = groupingExpressions,
resultExpressions = resultExpressions,
resultExpressions = resultExpressions.distinct,
child = expand.child)
}

Expand Down

0 comments on commit 59d5248

Please sign in to comment.