pgandhi999 commented on issue #24149: [SPARK-27207] : Ensure aggregate buffers 
are initialized again for So…
URL: https://github.com/apache/spark/pull/24149#issuecomment-476411314
 
 
   Turns out that is not true in the case of `SortBasedAggregator`. In the code 
that I have pasted above, `processRow()` is called on 
`result.aggregationBuffer` which performs `update` and later, 
`mergeAggregationBuffers` is called on the same `result.aggregationBuffer` 
which performs `merge`. This is what I could infer from the code as well as 
debug logs that I added, correct me if I am wrong.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to