~/talk

Storage-Partitioned Join for Apache Spark

Talkat ApacheCon@Home 2021 · 2021-09-21..09-23· [databases, data-engineering]
name:Chao Sun
links:none on file
name:Ryan Blue
links:none on file
slides:none on file

Proposal adds storage-partitioned joins to Spark v2 data sources, aiming to skip expensive network shuffles by matching disk partitions instead of always hashing both sides. Implements partition grouping and correlize/repartition strategies to handle mismatched bucket counts, unordered or subset/superset keys, and heavy skew via partition splitting. Prototype supports inner joins and custom bucket/hash functions for Hive and Iceberg, exposes a new partially clustered distribution to increase parallelism, and targets inclusion in Spark 3.3 with a PoC available now.

AI-written summary · about

  1. 0:00Introduction
  2. 4:28Problems with Bucketed Joins
  3. 5:55Bucketed Joins in Spark
  4. 7:02The Problem
  5. 10:06Transforms
  6. 11:28Storage Partition Join
  7. 12:42Examples
  8. 14:15Cases where partitions do not match
  9. 22:49Grouping partitions with correlated partitions
  10. 26:10Grouping partitions with skewed partitions
  11. 30:14Partitioning with proper size
  12. 31:54Questions
~/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.