Github user gyfora commented on the pull request:
https://github.com/apache/flink/pull/910#issuecomment-121733115
This is an interesting issue, exactly because of the current API for
aggregations. I think the main purpose of returning the aggregated values
inside the original data is to use them when we have grouped aggregations.
There this makes perfect sense.
Maybe someone knows better but I think we have this as we don't have
explicit key-value pairs.
---
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.
---