Github user koertkuipers commented on the pull request:
https://github.com/apache/spark/pull/1698#issuecomment-50890613
redudeByKey being the same as reduce, and cartesian being the same as
broadcast is the whole point, the difference being that redudeByKey and
cartesian are evaluated lazily.
eager evaluation is often unexpected to the end user and can lead to
duplicate calculations (since the user does not anticipate them and deal with
them using rdd.cache calls)
---
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.
---