Github user davies commented on the pull request:
https://github.com/apache/spark/pull/10228#issuecomment-163759063
@hvanhovell The difficulty of doing this in DistinctAggregateRewriter is
that DistinctAggregateRewriter will generate two logical plan, but some
aggregation functions have different updateExpression and mergeExpression, so
will could not work as update-merge-update-final, they should work as
update-merge-merge-final.
---
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]