Question
Why is take(n) safer than collect for exploratory inspection?
Select an option. Your answer will be checked instantly.
Correct Answer: A. It returns only a limited number of elements to the driver
Explanation:
take limits driver-side data volume.
It is useful for checking records without retrieving the whole RDD.
Leave a Reply