File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ abstract class DeclarativeAggregate
405
405
// the aggregate function will be transformed to a new copied node during `PlanSubqueries` and
406
406
// lost original attributes because `TreeNode` does not preserve "lazy val" during `makeCopy`.
407
407
// As a result, the final agg could fail to resolve references through partial agg. So we use
408
- // the tag to save the original attributes to let the new copy node share the same attributes
408
+ // the tag to save the original attributes to let the new copied node share the same attributes
409
409
// with old node.
410
410
getTagValue(inputAggBufferAttributeTag).getOrElse {
411
411
val attrs = aggBufferAttributes.map(_.newInstance())
You can’t perform that action at this time.
0 commit comments