Github user mateiz commented on the pull request:
https://github.com/apache/spark/pull/550#issuecomment-41454793
Ah, wow, I never knew that. So if one takes a Partitioner first and one
takes a function, the types are inferred, but if both take a function first,
they're not?
In that case we *might* want to change our other methods too, like cogroup
and groupByKey, to take a Partitioner first. Wouldn't this problem also affect
them?
---
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.
---