Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Perform a right outer join of self and other.

x = sc.parallelize([("a", 1), ("b", 4)])
y = sc.parallelize([("a", 2)])
sorted(y.rightOuterJoin(x).collect())
# [('a', (2, 1)), ('b', (None, 4))]
Source by spark.apache.org #
 
PREVIOUS NEXT
Tagged: #Perform #outer #join
ADD COMMENT
Topic
Name
3+5 =