~/talk

When DataFrames fail, resort to mapPartitions #bbuzz

Talkat Berlin Buzzwords 2018 · 2018-06-11..06-13· [data-engineering]
links:none on file
slides:none on file

DataFrame APIs hit nested-schema and lineage limits: a generated schema spans ~2,000 lines with nine-deep, 11-wide nesting and exploding 10 GB of source into ~120 GB and ~40M output entities. Rewriting the logic into mapPartitions that runs batched SQL (typically batching 1,000 IDs with IN queries), reduces remote query count and controls writes to Cassandra, trimming runtime from 96h to 3.5h (about 20x faster) while fully utilizing cluster CPU.

AI-written summary · about

  1. 0:00Introduction and context
  2. 4:38Spark data partitioning issues
  3. 9:59Data locality and task distribution
  4. 14:12Checkpointing and optimization techniques
  5. 19:15When DataFrames fail
  6. 23:11Performance results and trade-offs
  7. 26:13Q&A session
~/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.