Data lakehouse
A data lakehouse is a data platform that keeps data in open file formats on low-cost cloud storage, like a data lake, while adding the transactions, table structure and fast queries of a data warehouse.
For years many organisations kept their data in two places. A data warehouse held cleaned, structured tables for business reports. A data lake held everything else, raw files of every kind, on cheap storage. A lakehouse tries to be both at once. The data stays in open file formats such as Apache Parquet in cloud object storage, and a layer on top adds the features that used to require a warehouse: transactions, enforced table structures, versioning and quick SQL queries.
The best-known statement of the idea came from researchers at Databricks. In a paper presented at the CIDR conference in January 2021, Michael Armbrust, Ali Ghodsi, Reynold Xin and Matei Zaharia argued that the warehouse as then built would give way to the lakehouse, which they defined by three things: open, directly readable data formats, first-class support for machine learning and data science, and state-of-the-art performance. They described the usual two-tier set-up, where data is loaded into a lake and then copied again into a warehouse, as complex, slow to refresh and a source of new failures.
The working part is a metadata layer that records which files make up each version of a table. Because every change is written to that record, several programs can read and write the same data safely, and users can roll back or query a table as it stood earlier. The paper names Delta Lake, Apache Iceberg (which started at Netflix) and Apache Hudi (which started at Uber) as systems built this way. Iceberg's own site describes it as a format for huge analytic tables that engines including Spark, Trino and Flink can work on at the same time.
The link to AI is direct. Machine learning tools such as TensorFlow and PyTorch need to read large amounts of data with code that is not SQL, and the paper's authors argued that none of them work well on top of a traditional warehouse. In a lakehouse the same copy of the data can feed a sales dashboard and a model training job, without exporting it first.
In practice a lakehouse is an architecture, not a single product. It reduces copying, but it does not do the hard work of cleaning and organising data. The Databricks authors themselves note that organisations still have to write the logic that turns raw tables into curated ones. When a company says its AI runs on a lakehouse, the useful questions are the same as for any data platform: how good is the data, and who governs it.
A data warehouse stores structured, cleaned data organised for fast reporting. A data lake stores raw data of any kind cheaply, but with few controls. A lakehouse keeps the data lake's cheap storage and open file formats and adds a metadata layer that brings warehouse features such as transactions and table versioning. The best-known statement of the architecture is by Databricks researchers Michael Armbrust, Ali Ghodsi, Reynold Xin and Matei Zaharia in a paper presented at the CIDR conference in January 2021. It built on open table formats such as Delta Lake, Apache Iceberg and Apache Hudi, which were already adding warehouse-style management features to data lakes. They are open table formats: systems that sit on top of files in object storage and keep a record of which files belong to each version of a table. That record makes transactions, rollbacks and queries of past versions possible. The lakehouse paper treats them as the foundation of the approach. Machine learning tools read large volumes of data with code that is not SQL, which warehouses serve poorly. A lakehouse lets the same governed copy of the data serve both business reporting and model training, so teams do not have to export and maintain separate copies.Common questions
What is the difference between a data lake, a data warehouse and a data lakehouse?
Where does the idea of the data lakehouse come from?
What are Delta Lake, Apache Iceberg and Apache Hudi?
Why does a lakehouse matter for AI?
Search for "lakehouse architecture", "open table format" or the names Delta Lake, Apache Iceberg and Apache Hudi. The original CIDR 2021 paper is the clearest statement of the idea, and the project documentation for each table format explains how they work. Read vendor comparisons with care: most are published by companies selling one of the competing platforms.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.