Github user mateiz commented on a diff in the pull request:
https://github.com/apache/spark/pull/1791#discussion_r16267396
--- Diff: python/pyspark/rdd.py ---
@@ -1756,6 +1942,114 @@ def _defaultReducePartitions(self):
# on the key; we need to compare the hash of the key to the hash of the
# keys in the pairs. This could be an expensive operation, since those
# hashes aren't retained.
+ # def lookup(self, key):
+ # """
+ # Return the list of values in the RDD for key key.
+ # """
--- End diff --
If you'd like you can implement lookup() the same way as in Scala, it's not
too bad
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]