~/talk

New Features in Apache Spark 4.0

Talkat PyData Global 2024 · 2024-12-03..12-05· [databases, developer-experience]
links:none on file
slides:none on file

Lists concrete changes and examples: Python custom data sources let one load Hugging Face datasets with spark.read.format('huggingface').load; ANSI mode enabled by default turns silent overflows and divide‑by‑zero into exceptions; the new Variant type claims up to eight times faster JSON ops; Spark Connect decouples client and server over gRPC with Arrow record batches, enabling Rust/Go/R connectors that write Parquet/Delta; to_arrow returns PyArrow tables for small transfers; XML reader, parameterized queries that sanitize and auto‑register DataFrames, Python UDTFs, and exposed HyperLogLog sketches for reaggregation.

AI-written summary · about

  1. 0:00Spark 4.0 new features
  2. 0:44Spark 4.0 key features
  3. 1:47Python custom data sources
  4. 3:31ANSI SQL safety improvements
  5. 6:59Variant data type for JSON
  6. 8:05Spark Connect architecture
  7. 10:12Spark Connect Rust demo
  8. 12:21Rust CSV to Delta conversion
  9. 13:26Go language connector
  10. 15:12R connector for Spark
  11. 16:19Spark Connect local setup
  12. 18:06DataFrames to Arrow tables
  13. 19:33Native XML support
  14. 20:36Parameterized SQL queries
  15. 23:50Python user-defined table functions
  16. 26:21HyperLogLog sketches
  17. 27:56Q&A
~/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.