- 54lessons
- 3guided projects
- 8module checkpoints
- 0.8hours of video
What you'll learn
- Explain Spark's architecture (driver, executors, cluster managers) and the application, job, stage and task vocabulary, and run a local[*] session with recorded versions.
- Distinguish lazy transformations from actions, prefer built-in functions to Python UDFs, and avoid relying on side effects.
- Locate shuffles in physical plans, control partition counts, choose repartition or coalesce, use broadcast joins and detect and mitigate skew.
- Read logical and physical plans, observe pruning and pushdown, cache and unpersist with a reuse rule, and test plan shape with version-tolerant assertions.
- Build, test, tune and document a partitioned Spark pipeline with reconciliation, execution-plan evidence and a trainer-reviewed demonstration.
Skills you'll gain
- Distributed data model
- DataFrames
- schema
- Transformations
- actions
- Joins
- aggregation
- Partitions
- shuffles
- Caching
- plans
- Storage
- streaming concepts
- Distributed pipeline
Tools you'll use
- Apache Spark
- PySpark
- Spark SQL
- Parquet
- pytest
- Structured Streaming
- Java runtime
Details to know
- Certificate on completionIssued after your final project is reviewed
- 8 module checkpointsA quiz and a practical task close each module
- Self-pacedStudy any time; your progress is saved
How every lesson works
Each lesson follows the same four steps, so you always know what comes next.
- 01
Watch & Learn
A short animated video explains one idea at a time.
- 02
Guided Practice
Work through an example step by step and check the result.
- 03
Quiz & Challenge
Short questions check the idea has landed before you move on.
- 04
Mini Project
Build something useful from a project brief.
Learn at your own pace
This is a self-paced course. There are no live classes and no fixed timetable.
- Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
- Pick up where you left offYour progress is saved to your account.
- Ask when you're stuckUse Ask Mentor inside the learning platform.
Your path in 3 phases
Each phase ends with something you have built and checked.
- 01
Modules 1 to 3
Spark model and DataFrames
Run a local Spark session, create DataFrames with explicit schemas and null handling, and separate lazy transformations from actions.
You build: Guided project: Typed orders foundation with a recorded environment.
- 02
Modules 4 to 6
Joins, shuffles and plans
Aggregate and join correctly, control partitions and skew, and read logical and physical plans with measured caching.
You build: Guided project: Orders reporting module with verified joins and windows; Shuffle and plan laboratory.
- 03
Modules 7 to 8
Storage, streaming and the pipeline
Write partitioned CSV, JSON and Parquet, explain Structured Streaming, and build a tested pipeline with plan evidence.
You build: Module practical tasks for modules 7 to 8.
Full curriculum
8 modules and 54 lessons, 28 to 50 hours of study
01Distributed data model6 lessons, 2 to 4 hours
Lessons
- Partitions as the unit of parallel work in local mode
- Driver, executors and cluster managers: who does what
- Application, job, stage and task: reading the execution vocabulary
- Local environment: JDK, pip install pyspark and a first SparkSession
- Immutable DataFrames and lineage: every step makes a new plan
- When Spark is the right tool and when pandas or SQL is enough
After this module you can
- Build a range DataFrame with a stated partition count and report how many partitions one count() job spreads over.
- Label a given Spark run diagram with driver, executors and cluster manager and state which process holds the SparkSession.
- Apply a written decision rule (data size, reuse, startup cost, need for scale-out) to five scenarios and justify each choice.
02DataFrames and schema7 lessons, 3 to 5 hours
Lessons
- Explicit schemas with StructType and DDL strings
- Reading a schema: printSchema, dtypes and nullable
- Columns and expressions: select, withColumn, selectExpr and alias
- Types and casting: cast, failures to null and date strings
- Null semantics: three-valued logic, <=>, count(*) versus count(col)
- The SQL API: temp views and spark.sql return DataFrames
- Nested columns: structs, arrays, maps and explode
After this module you can
- Create a DataFrame from Python tuples with a StructType and again with a DDL string, and show both schemas match.
- Read a printSchema tree and a df.dtypes list to answer which columns are numeric and which can hold null.
- Read a nested JSON-like DataFrame, select struct fields with dot paths and flatten an array column with explode.
03Transformations and actions7 lessons, 3 to 5 hours
Lessons
- Lazy evaluation: transformations only describe, actions compute
- Narrow transformations: filter, select and withColumn stay inside a partition
- Actions and where results land: count, take, collect, show and toPandas
- Built-in functions beat hand-written Python: when, regexp_extract and to_date
- Python UDFs: what they cost and when they are the last resort
- Ordering, limit and duplicates: sort, dropDuplicates and distinct
- Side effects in transformations: prints, counters and accumulators are unreliable
After this module you can
- Predict which lines of a script start a job and prove with a timing-free counter that transformations alone compute nothing.
- Classify given operations as narrow (no data movement between partitions) or wide, and confirm that a filter-select chain keeps the partition count.
- Demonstrate that a driver-side counter incremented inside a transformation does not match expectations and use a result-based count instead.
04Joins and aggregation7 lessons, 3 to 5 hours
Lessons
- groupBy and agg: several aggregates in one pass with aliases
- Aggregation pitfalls: null groups, distinct counts and averages over nulls
- Join types: inner, left, semi, anti and full outer on keyed tables
- Join keys in practice: ambiguous columns, null keys and expression conditions
- Fan-out and double counting: cardinality checks before and after a join
- Window functions: partitionBy, orderBy, row_number, rank and dense_rank
- Window frames and offsets: lag, lead and running totals with rowsBetween
After this module you can
- Compute count, sum, avg and max per group in a single agg call and name each output column with alias.
- Predict and verify results of countDistinct, avg with nulls and sum of an empty group, and mark which are exact versus approximate.
- Compute a running total and a previous-order gap using sum over a frame and lag, and state the frame in the code.
05Partitions and shuffles7 lessons, 3 to 5 hours
Lessons
- Counting partitions at read, after narrow steps and after a shuffle
- What triggers a shuffle: Exchange nodes in the physical plan
- Setting spark.sql.shuffle.partitions: too many, too few and what to measure
- repartition versus coalesce: changing the partition count deliberately
- Broadcast joins and join hints: small table, no shuffle of the big side
- Data skew: finding a hot key and splitting it with salting
- Adaptive Query Execution: what it changes and how to keep it out of your assertions
After this module you can
- Report partition counts at three points of a job and explain each change using the stated configuration.
- Read a physical plan and list each Exchange node with the operation that caused it.
- Name the three AQE behaviours from the tuning page, toggle spark.sql.adaptive.enabled and explain why plan assertions state the setting.
06Caching and plans6 lessons, 2 to 4 hours
Lessons
- Reading explain(): physical plan nodes from bottom to top
- Catalyst stages: parsed, analyzed, optimized and physical plans
- Pruning and pushdown on Parquet: fewer columns and fewer partitions read
- cache() and persist(): lazy materialization and storage levels
- When caching helps, hurts and how to release it
- Plans as regression tests: asserting shape, not wall-clock time
After this module you can
- Read a physical plan for a filter-groupBy query and name the scan, filter, partial and final aggregate and exchange in order.
- Use EXPLAIN EXTENDED to show the four plan stages and identify one optimization that changed the logical plan.
- Write a test that fails when a refactor adds an unexpected Exchange or removes a pushdown, using version-tolerant substring checks.
07Storage and streaming concepts7 lessons, 3 to 5 hours
Lessons
- Reading CSV: header, inferSchema, explicit schema and parse modes
- JSON Lines and corrupt records: schema-on-read with an explicit schema
- Parquet: columnar storage, schema in the file and compression
- Writing safely: save modes, overwrite is not atomic and idempotent output paths
- partitionBy output, partition discovery and why cardinality matters
- Structured Streaming model: an unbounded table, triggers and output modes
- A local streaming lab: file source, checkpoint and event-time watermark
After this module you can
- Read a CSV with explicit schema and mode FAILFAST, then with PERMISSIVE and DROPMALFORMED, and report the row counts for each.
- Read JSON Lines with an explicit schema, including a nested field and a missing key, and report null handling for each.
- Run a bounded streaming query over a local folder of JSON files with a checkpoint directory and explain what the checkpoint and watermark each record.
08Distributed pipeline7 lessons, 3 to 5 hours
Lessons
- Pipeline layout for Spark: raw, clean and curated zones with a data contract
- Testing Spark code: a local session fixture, tiny inputs and fixed configuration
- Comparing DataFrames in tests: order-insensitive equality and tolerances
- Idempotent pipeline runs: deterministic outputs and safe re-runs
- A tuning method: baseline, one change, compare plan and counts
- Evidence pack: lineage, reconciliation, plans and a runbook
- Capstone integration: full run, failure injection and a reviewer demonstration
After this module you can
- Write a contract for raw, clean and curated zones and map each zone to a Spark job with its input path, output path and partition column.
- Create a session-scoped pytest fixture with fixed configuration and run a transformation test on a 5-row DataFrame.
- Run the capstone end to end on a fresh environment, inject two failures and demonstrate recovery with evidence.
What you'll build
3 guided projects along the way, then a final project.
Typed orders foundation with a recorded environment
after module 2Orders reporting module with verified joins and windows
after module 4Shuffle and plan laboratory
after module 6
Final project
Partitioned Spark data pipeline with correctness and execution-plan evidence.
What you submit
Source and artifact submission: repository with pipeline code, requirements with the pinned Spark version, seeded data generator, tests and the evidence pack.
How it's reviewed
Trainer-reviewed demonstration: live local run, one trainer-chosen configuration change (partition column, shuffle.partitions or a broadcast hint) and a plan-based explanation of the difference. Marked against the course project review rubric.
Where you'll use it
- Join and aggregate large tables without double counting and check row counts across zones.
- Find a shuffle or skewed key in a physical plan and fix it with partitioning or a broadcast join.
Roles that use these skills
- Data engineer
- Analytics engineer
- Big data developer
Earn the certificate by building, not watching
- Complete the lessons and pass each module checkpoint.
- Build your final project and demonstrate it.
- OUTLEARN reviews your project and issues your certificate. It is not issued automatically.
Frequently asked questions
Do I need a cluster?
No. The course runs a local[*] Spark session with a pinned environment.
What should I finish first?
Python Data Analytics and Data Engineering and Python ETL, or equivalent skill.
How is Apache Spark & PySpark structured, and is it open now?
It has 8 modules and 54 lessons. It is not yet released to learners.
Be first in when Apache Spark & PySpark opens
Email us and we will tell you as soon as enrolment opens.
Notify me when it opens

