Exam Certified Associate Developer for Apache Spark All QuestionsBrowse all questions from this exam
Question 172

Which of the following operations will always return a new DataFrame with updated partitions from DataFrame storesDF by inducing a shuffle?

    Correct Answer: C

    The operation storesDF.repartition() will always return a new DataFrame with updated partitions from DataFrame storesDF by inducing a shuffle. This method is specifically designed to redistribute data across a different number of partitions, which requires shuffling the data.

Discussion
Sowwy1Option: C

C. storesDF.repartition()