Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Perform a left outer join of self and other.

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