medium10 pts · first answer countssparkpartitioning
repartition vs coalesce
You want to reduce 2,000 partitions to 50 before writing files. What is the difference between repartition(50) and coalesce(50)?
Discussion 0
Join free to post in the discussion.
Related questions
- When Spark actually runsData Engineer
- What a Spark partition isData Engineer
- Partitioning an events tableData Engineer
- Folders named dt=2026-10-01Data Engineer
- Reducing a topic's partitionsData Engineer
- What the Spark driver doesData Engineer
- Calling collect() on 500 GBData Engineer
- Why DataFrames beat RDDs of objectsData Engineer