Github user fhueske commented on the pull request: https://github.com/apache/flink/pull/525#issuecomment-85499509 Yes, I agree. The fix is more conservative than necessary. I think we can safely relax it if we make the rule for forwarded fields on group-wise operators as follows: *"All forwarded fields of an emitted record must be forwarded from the same input record. Each output record can have forwarded values from a different input record."* This allows to preserve partitionings (also on composite keys) but voids all grouping / sorting on non-key fields because the order of the emitted records is not specified.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---