Skip to content

Commit a4d26b3

Browse files
committed
Update descriptions for supportPartial
1 parent cf1995a commit a4d26b3

File tree

1 file changed

+2
-2
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate

1 file changed

+2
-2
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/interfaces.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ sealed abstract class AggregateFunction extends Expression with ImplicitCastInpu
174174
def inputAggBufferAttributes: Seq[AttributeReference]
175175

176176
/**
177-
* Indicates if this function supports partial aggregation.
178-
* Currently Hive UDAF is the only one that doesn't support partial aggregation.
177+
* Indicates if this function needs to aggregate values group-by-group in a single step.
178+
* If false, we must always use a `SortAggregateExec` operator without partial aggregates.
179179
*/
180180
def supportsPartial: Boolean = true
181181

0 commit comments

Comments
 (0)