Question: Indicate whether or not the following instructions are lazy: ( a ) rdd = sc . parallelize ( [ ( ' COMP 4 1 0

Indicate whether or not the following instructions are lazy:
(a) rdd = sc.parallelize([('COMP4103',54),('COMP4103',64),( 'COMP4008',87)])
(b) print(rdd.collect ())
(c) rdd.filter (lambda x:x[1]10)
(d) rdd.mapPartitions (lambda x:x)
 Indicate whether or not the following instructions are lazy: (a) rdd

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!