QuestionQ275
VerifiedTroubleshooting and Tuning Apache Spark DataFrame API Applications.To improve performance, a developer chooses to reduce a DataFrame’s number of partitions to 100. The developer must decide whether to use coalesce() or repartition() for this operation.
What is the behavior of these two functions?
Community Discussion