Spark

Spark Practice

Learn Spark hands-on, from DataFrames and schemas to joins, performance tuning, and streaming pipelines.

AIAirflow
Read the Spark overview
Module 1

SparkSession & DataFrame Basics

Start a configured SparkSession, build DataFrames, and transform them lazily with select, filter and derived columns.

4

One Session

easy0 / 1 solved

Select, Filter, Derive

easyNo attempts yet

Lazy Until Asked

easyNo attempts yet

Price List Normaliser

easyNo attempts yet
Module 2

Schemas, Types & Nulls

Declare explicit schemas, cast safely under ANSI rules, and handle nulls with a clear, deliberate policy.

4

Say What You Mean

easyNo attempts yet

Casting Under ANSI Rules

easyNo attempts yet

Nulls Are Not Values

easyNo attempts yet

Customer Order Typing Layer

easyNo attempts yet

About this path

This path starts Spark with DataFrames: creating a SparkSession and transforming data, then schemas, types and nulls. You should be comfortable with basic programming and with filtering and grouping rows of data, as you would in SQL. No earlier Spark experience is needed. The schemas module is about getting types right and ends with a typing layer for customer orders.

Frequently asked questions

4

What will I practice in this path?

2 modules: SparkSession & DataFrame Basics and Schemas, Types & Nulls.

How many challenges are there, and how hard are they?

8 challenges, all easy.

What does this path run on?

Challenges run on Airflow.

Do I need to install anything?

No. Every challenge runs in a browser-based IDE with everything already set up, and your code is graded automatically against a test suite.

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.