~/talk

An Apache Spark query's journey through the stack

Talkat Øredev 2025 · 2025-11-05..11-07· [databases]
links:none on file
slides:none on file

Query plan construction and constant folding by Catalyst, then file-level pruning via Delta Lake/Parquet metadata, determine how much data Spark actually reads; task count maps to partitions (~128MB chunks) and one task per executor so sharding matters; expensive operations are sorts and shuffles (spill to disk costs money), while broadcast joins avoid shuffles; newer C++ engines (Gluten/Velox / Photon style) plug into Spark and claim 2–3× speedup on the same hardware versus JVM execution.

AI-written summary · about

  1. 0:00Spark and Lakehouse intro
  2. 4:05Spark architecture basics
  3. 9:30Query planning with Catalyst
  4. 13:24Predicate pushdown & pruning
  5. 15:54Cost estimation & joins
  6. 17:58Query execution & scheduling
  7. 20:09Shuffling & broadcast joins
  8. 23:03Query journey summary
  9. 25:49Q&A on Gluten & Velox
~/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.