Github user clockfly commented on the issue:
https://github.com/apache/spark/pull/14723
@liancheng @cloud-fan
@yhuai @hvanhovell @gatorsmile
This PR is superceded by #14753, please review the new PR instead.
The motivation behind the change is that the aggregation function is also
used by WindowExec, which may do continous `update` and `eval`. We have to
override `eval` of ImperativeAggregate so that `eval` can accepts an
aggregation buffer which contains generic Java object.
For example:
```
agg.update(buffer, row1)
agg.eval(buffer)
agg.update(buffer, row2)
agg.eal(buffer)
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]