~/talk

Spark Execution Plans for Databricks

Talkat SQLBits 2023 · 2023-03-14..03-18· [data-engineering]
links:none on file
slides:none on file

Shows how Databricks uses the Catalyst Optimizer and explain() to turn code into logical then physical plans, with examples: a range 1..1,000,000 DF, repartition to 6 then 8, a join that triggers broadcast hash join vs sort‑merge, and Delta tables sized 30 million sales / 1 billion items. Explains explain modes (extend, codegen, cost, format), points out about four exchanges (shuffles), default 200 shuffle partitions, and how adaptive query execution and query hints change plans.

AI-written summary · about

  1. 0:00Introduction
  2. 0:32Understanding Spark plans
  3. 1:58Catalyst optimizer flow
  4. 6:38Reading execution plans
  5. 14:05Delta table plan analysis
  6. 25:51Using the Spark UI
  7. 29:27Adaptive query execution
  8. 36:22Advanced tips and recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.