hardStudy question · answer published in Apache Spark interview questions, so no pointssparkdata-skewspark-joins
Cost of salting a skewed join
One merchant_id holds 40% of a 2 billion row fact table. You salt the fact side with a random salt 0–7 and join to a 2 million row merchant table. How many rows must the merchant side have after salting?
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