QuestionQ52
VerifiedTroubleshooting and Tuning Apache Spark DataFrame API Applications.The code block below has an error. It is intended to return a new 12-partition DataFrame from the 8-partition DataFrame storesDF by causing a shuffle. Identify the error.
Code block:
storesDF.coalesce(12)
Community Discussion