Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update comment in pyspark code
  • Loading branch information
vnivargi committed Apr 8, 2014
commit 13c1e5fd36b2e655ac0e2fbd1e1f89a0ac0f1c9c
4 changes: 2 additions & 2 deletions python/pyspark/rdd.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,9 +739,9 @@ def fullOuterJoin(self, other, numPartitions=None):
Hash-partitions the resulting RDD into the given number of partitions.

>>> x = sc.parallelize([("a", 1), ("b", 4)])
>>> y = sc.parallelize([("a", 2)])
>>> y = sc.parallelize([("a", 2), ("c", 3)])
>>> sorted(y.fullOuterJoin(x).collect())
[('a', (2, 1)), ('b', (None, 4))]
[('a', (2, 1)), ('b', (None, 4)), ('c', (3, None))]
"""
return python_full_outer_join(self, other, numPartitions)

Expand Down