Technology · Lakehouse

Databricks: do you really need
a lakehouse?

Databricks brings the data warehouse, large-scale processing and machine learning onto one platform. It is a good tool for teams of engineers and data scientists, and often too much for a reporting need.

LakehouseSparkPythonMulti-cloud

THE TOOL

Databricks in brief.

Databricks was born around Spark, an open source engine designed to process very large volumes of data. The platform rests on the idea of the lakehouse: data stays as files, in an open format, on the storage of your own cloud. On top of that, Databricks provides compute, SQL tables, notebooks and machine learning tools.

It runs on AWS, Azure and Google Cloud. Billing follows the compute time consumed, plus the cost of machines and storage, billed by your cloud provider. The same data serves engineers in Python, analysts in SQL and data scientists. That is its strength, and it is also what makes it slower to get to grips with than a classic data warehouse.

OUR PRACTICE

What we build with Databricks.

01

A layered lakehouse.

Raw data, cleaned data, ready-to-use tables: a medallion architecture where each layer has a role and an owner.

02

dbt transformations.

SQL models are written with dbt, tested and documented as on any data warehouse. Python is kept for what SQL cannot do.

03

Scheduled jobs.

Jobs run on clusters that start for the occasion and shut down at the end, triggered by Airflow or by the platform’s scheduler.

IN PRACTICE

For whom, and for whom not.

Databricks is a good choice if…

  • Your volumes are very large or your data is poorly structured: logs, files, events.
  • You have a data science team training models on that same data.
  • Your engineers work in Python and Spark as much as in SQL.
  • You want to keep your data in an open format, on your own storage.

Look elsewhere if…

  • Your need is reporting on sales, inventory and marketing: a data warehouse is enough, for less effort.
  • You have no data engineer to tune the clusters and track costs.
  • Your users are mostly SQL analysts and business teams.
  • You are still hesitating: read BigQuery or Databricks first.

IN PRODUCTION

Our implementation rules.

On Databricks, the bill and the readability come down to a few habits.

  • Auto-termination everywhere: an idle cluster shuts itself down. None stays on overnight by oversight.
  • Dedicated clusters for scheduled jobs: production does not run on developers’ interactive clusters.
  • Code in Git, not in notebooks: a notebook is for exploring. What goes to production is versioned, reviewed and tested.
  • A catalogue and permissions by group: each table has an owner, access is granted to groups, sensitive data is isolated.
  • Maintained tables: file layout chosen on the real filters, regular compaction of small files, purging of old versions.
  • Cost tracking by team: each cluster carries a tag, consumption is read by project. This is the basis of FinOps.

FREQUENTLY ASKED QUESTIONS

What we are often asked.

Can Databricks replace our data warehouse?

Yes, technically: it exposes SQL tables that Looker, Power BI or Tableau query like those of a data warehouse. The question is rather one of effort. If nobody on your side uses Spark or machine learning, you will pay in complexity for capabilities you do not use.

Does lakehouse mean Databricks?

No. The lakehouse is an architecture: files in an open format, a compute engine on top. Databricks is its best-known implementation, but others exist, including open source ones. See data warehouse or lakehouse.

Do you have as much experience on Databricks as on BigQuery?

No, and we would rather say so. BigQuery is our default data warehouse. We work on Databricks when a client has already chosen it or when their volumes justify it, with the same methods: dbt, tests, documentation, continuous integration.

WHAT COMES NEXT, WE BUILD TOGETHER

Your next project
starts with a conversation.

An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.

Let’s talk about your project