Free to read ยท Three levels
Apache Spark: correct distributed data and recoverable pipelines
A complete Spark course joining relational correctness, distributed execution, streaming semantics and operational evidence.
Start learningIn this course
Study a synthetic community solar cooperative through eighteen developed lessons. Follow meter readings, site reference data, inspection history and daily energy products while learning where logical correctness and physical execution meet.
Progress from typed DataFrames and SQL to deterministic revision selection, shuffles, Parquet publication, adaptive plans, persistence, Python workers, event-time state and recoverable delivery. Every lesson includes explained examples, contextual mistakes, worked exercises and official primary references, with three independent troubleshooting guides.
What you will learn
- Build typed, null-aware and deterministic reading transformations with explicit source and output grain.
- Evaluate joins, windows, shuffles, file layout, plans, persistence and UDF boundaries using scoped evidence.
- Design late-data, checkpoint, sink, security, quality and release contracts without overstating engine or managed-service guarantees.
Your learning path
Three levels
Basic: typed relational foundations
Locate execution, preserve measurement meaning and build correct query populations and totals.
- Driver, executors and lazy plans
- Schemas, types and source boundaries
- Column expressions, NULL and ANSI behavior
- Filtering, time zones and deterministic order
- Joins, grain and reference data
- Aggregations and completeness metrics
Intermediate: distribution and execution evidence
Choose deterministic revisions and evaluate windows, layout, plans, reuse and worker boundaries.
- Windows and deterministic deduplication
- Partitions, shuffles and balanced work
- Parquet layout and safe publication
- Execution plans, statistics and adaptive execution
- Persistence, lineage and retry boundaries
- Python UDFs, Arrow and worker contracts
Advanced: streaming and recoverable operation
Connect event-time state, sink outcomes, failure diagnosis, quality, security and release compatibility.
- Streaming event time and watermarks
- Checkpoints, sinks and delivery semantics
- Skew, memory and failure diagnosis
- Quality tests and operational evidence
- Deployment security and reproducible packaging
- Versions, catalogs and table-format boundaries
Who this is for
- Developers and data engineers learning PySpark and Spark SQL with explicit correctness and recovery contracts.
- Engineers reviewing batch and streaming jobs, distributed performance and runtime evidence.
Before you start
- Basic Python, tabular data and SQL familiarity; all Spark examples are explanatory fragments rather than environment setup commands.
- Optional engine practice requires a separately authorized disposable Spark environment with compatible runtimes, storage and dependencies.