Spark SQL tutorial

hands-on · runs in your browser loading engine…
Demos
GitHub

Learn Spark SQL by running it

A hands-on tour from the basics to advanced analytics — filtering and joins, window functions, complex types, JSON, grouping sets, pivot, and more.

Every example below has a Run button. There's no server and nothing to install: the real spark-rust engine (the same one that passes 90.84% of Apache Spark's SQL suite) is compiled to WebAssembly and runs each query inside this tab. Edit any query and re-run it — the data and the engine are all local.

… UDFs … examples 100% in-browser Spark dialect ⌘/Ctrl + Enter to run