Answers for "Return the union of this RDD and another one"

PHP
0

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]
Posted by: Guest on March-12-2020

Code answers related to "Return the union of this RDD and another one"

Browse Popular Code Answers by Language