← All tracks

Spark

Jobs, shuffles, and the PySpark questions that show you have shipped

15 questions with hidden solutions

Drill this stack →

  1. Q1DatabricksAppleNetflixCodingmedium

    Driver vs executor. Where does your Python UDF actually run?

  2. Q2UberLyftLinkedInCodingeasy

    Narrow vs wide transformation. Why does that decide runtime?

  3. Q3AmazonWalmartTargetCodingmedium

    repartition vs coalesce. When is each correct?

  4. Q4DatabricksShellComcastCodingmedium

    Why did a job that “worked in the notebook” fail as a scheduled job?

  5. Q5MetaGoogleMicrosoftCodingmedium

    Broadcast join vs shuffle join. What is the failure mode of a hint?

  6. Q6DatabricksNetflixUberCodingmedium

    Kryo vs Java serialization. When do you care?

  7. Q7NetflixAmazonDatabricksCodinghard

    S3 vs HDFS locality. Why was the same job faster on HDFS?

  8. Q8DatabricksAppleLinkedInCodingeasy

    foreach on the driver vs foreachPartition.

  9. Q9DatabricksMetaNetflixCodingeasy

    Read an explain plan: how do you confirm a broadcast?

  10. Q10DatabricksAppleNetflixCodinghard

    AQE is on. You still got a 2 TB shuffle. What did AQE not fix?

  11. Q11UberLyftAirbnbCodingmedium

    You cached a 400 GB dataframe. The next action still recomputes. Why?

  12. Q12DatabricksGoogleMicrosoftCodingeasy

    UDF vs Spark SQL expr for a string normalize. Which do you merge?

  13. Q13DatabricksBlockRivianCodingmedium

    Job failed with metadata column _rescued_data full of JSON. What is Auto Loader telling you?

  14. Q14NetflixAppleComcastCodingmedium

    repartition(200) before a write. When is that the wrong knob?

  15. Q15DatabricksAdobeLyftCodingeasy

    A notebook used display() and dbutils.fs. The scheduled job has neither. What was the real bug?

Search DataLane

↑↓ navigate↵ openesc close