cloud-fan commented on code in PR #48895:
URL: https://github.com/apache/spark/pull/48895#discussion_r1852038266
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/ReplaceHashWithSortAgg.scala:
##########
@@ -75,6 +75,7 @@ object ReplaceHashWithSortAgg extends Rule[SparkPlan] {
partialAgg.child.outputOrdering,
sortAgg.requiredChildOrdering.head)) {
sortAgg.copy(
aggregateExpressions =
sortAgg.aggregateExpressions.map(_.copy(mode = Complete)),
+ initialInputBufferOffset = 0,
Review Comment:
are you saying that this parameter is not used in complete-mode aggregation,
so we should set it to 0?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]