Latest Apache Gluten Optimizations: From Planning to Execution
summary
Apache Gluten pushes Spark SQL execution into Velox and shows concrete wins: a partial aggregation before join shrinks a 100M-row sales join to ~1M rows so joins and final aggregation do far less work, cutting some TPC‑DS 10TB queries roughly in half (Q23B 252s→101s, Q4 150s→71–74s; overall suite −8%). Pushing bloom filters into the reader means materializing non‑key columns for 10→2 rows and enables adaptive reorder; sharing one immutable bloom buffer across tasks avoids duplicate 8MB copies fighting a 12MB LLC. A merged distributed bloom (bitwise OR) and single‑executor broadcast hash table builds complete the stack; internal 10TB benchmarks show measurable end‑to‑end speedups.
AI-written summary · about
