SpinTheMic
Pro

Interview practice question

Job spends ages before processing starts

Data Engineering · Spark · Experienced

A Spark job reading from an S3 path with millions of small files spends 30 minutes before any task starts. What's going on?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Listing millions of objects is slow, and it happens on the driver.
  • Schema inference reads file footers.
  • Use table formats like Delta or Iceberg that track files in metadata.
  • Compact small files.
  • Use partition pruning to limit paths.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics