Question
What does count do?
Select an option. Your answer will be checked instantly.
Correct Answer: B. Returns the number of elements in an RDD
Explanation:
count triggers distributed evaluation of the required partitions.
Partial counts are aggregated into one driver result.
Leave a Reply