coalesce(n) vs repartition(n) — which is accurate?
Select an answer to reveal the explanation.
Short Explanation
repartition shuffles freely; coalesce mostly shrinks partitions cheaper.
Full Explanation
Choose based on whether you need a full balanced reshuffle or a cheaper reduction.