Github user aarondav commented on a diff in the pull request:
https://github.com/apache/incubator-spark/pull/630#discussion_r9958810
--- Diff: python/pyspark/rdd.py ---
@@ -916,6 +916,11 @@ def flatMapValues(self, f):
Pass each value in the key-value pair RDD through a flatMap
function
without changing the keys; this also retains the original RDD's
partitioning.
+
+ >>> x = sc.parallelize([("a", ["x", "y", "z"]), ("b", ["p", "r"])])
--- End diff --
Were these changes intended in this PR? You might want to update the PR
description if so..
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
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.
---