Github user gaborhermann commented on the pull request:
https://github.com/apache/flink/pull/872#issuecomment-116736041
Sorry for not making myself clear.
I would actually go for
4. Only the Scala function (both in the streaming and batch API)
I don't understand how changing from partitioner implementation to function
implementation in the batch API would mess up determining the compatibility of
the partitioning. By compatibility I mean the type of the key must be the same
as the input of the partitioner.
I suppose there was another reason (that I do not understand) for choosing
the partitioner implementation for the Scala batch API, so if (4) is not an
option, I would go for (2) (only partitioner, sync with batch API).
---
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.
---