Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Return the union of this RDD and another one

# union(other)

rdd = sc.parallelize([1, 1, 2, 3])
rdd.union(rdd).collect()
#  [1, 1, 2, 3, 1, 1, 2, 3]
Source by spark.apache.org #
 
PREVIOUS NEXT
Tagged: #Return #union #RDD
ADD COMMENT
Topic
Name
7+8 =