mediumStudy question · answer published in Pandas interview questions, so no pointssparkspark-tuning
Why a groupBy made 200 tasks
With adaptive query execution turned off, a groupBy on a small 50 MB DataFrame produces a stage with 200 tasks. Where does 200 come from?
Discussion 0
Join free to post in the discussion.
Related questions
- When Spark actually runsData Engineer
- What a Spark partition isData Engineer
- What the Spark driver doesData Engineer
- Calling collect() on 500 GBData Engineer
- Why DataFrames beat RDDs of objectsData Engineer
- Entry point of a Spark 3+ appData Engineer
- Tasks in a 64-partition stageData Engineer
- Where a job splits into stagesData Engineer