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
- What causes a shuffleData Engineer
- Joining with a small lookup tableData Engineer
- When to cache in SparkData Engineer
- One task takes foreverData Engineer
- Which late event is keptData Engineer
- A slow Python UDF in PySparkData Engineer