Sitemap
Towards Data Engineering

Explore top articles on data engineering, cloud architecture, agentic AI, and MLOps. Join our thriving Medium community of data professionals to discover curated insights, share your expertise, and build the future of AI and data-driven ecosystems.

Member-only story

Databricks 101: How Databricks Actually Executes Your PySpark Code

7 min read5 days ago

--

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.

Press enter or click to view image in full size
Databricks and Spark

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…

--

--

Henry
Henry

Written by Henry

I am writing about data and sharing how I used AI to level up my learning. Contact: lhungen@gmail.com

Towards Data Engineering
Towards Data Engineering

Published in Towards Data Engineering

Explore top articles on data engineering, cloud architecture, agentic AI, and MLOps. Join our thriving Medium community of data professionals to discover curated insights, share your expertise, and build the future of AI and data-driven ecosystems.