Member-only story
Databricks 101: How Databricks Actually Executes Your PySpark Code
A visual guide to workspaces, catalogs, lazy evaluation, partitions, and shuffles
The first time I opened Databricks, the menus were full of new words: workspace, compute, catalog, schema, and volume. I couldn’t tell which of them my code would actually touch.
I still remember it: the catalog was the word that stopped me. I kept filing it next to S3 in my head, as somewhere data sits. That was close enough to get started but not close enough to explain what I was looking at.
In this article, we'll learn what Spark and Databricks are, where your code runs, where your data lives, and how Spark turns a raw file into an answer.
Spark, Databricks, and where everything lives
Let’s take the names one at a time. Firstly, what is Spark?
Spark is an engine that splits a big data job into small pieces and runs them on many machines at once. You can run it on your laptop with pip install pyspark, so Databricks isn’t required.
But why do we need Databricks?
Running Spark across many machines yourself means setting up and looking after those machines. Databricks is…










