Building a Correct-by-Design Lakehouse. Data Contracts, Versioning, and Transactional Pipelines for Humans and Agents

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Sheng, Weiming, Wang, Jinlang, Barros, Manuel, Montana, Aldrin, Tagliabue, Jacopo, Bigon, Luca
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910055815708672
author Sheng, Weiming
Wang, Jinlang
Barros, Manuel
Montana, Aldrin
Tagliabue, Jacopo
Bigon, Luca
author_facet Sheng, Weiming
Wang, Jinlang
Barros, Manuel
Montana, Aldrin
Tagliabue, Jacopo
Bigon, Luca
contents Lakehouses are now the default substrate for analytics and AI, but they remain fragile under concurrent, untrusted change: schema mismatches often surface only at runtime, development and production easily diverge, and multi-table pipelines can expose partial results after failure. We present Bauplan, a code-first lakehouse that aims to eliminate a broad class of these failures by construction. Bauplan builds on a storage substrate that already provides atomic single-table snapshot evolution, and adds three pipeline-level correctness mechanisms: typed table contracts to make transformation boundaries checkable, Git-like data versioning to support reproducible collaboration and review, and transactional runs that guarantee atomic publication of an entire pipeline execution. We describe the system design, show how these abstractions fit together into a unified programming model for humans and agents, and report early results from a lightweight Alloy model that both validates key intuitions and exposes subtle counterexamples around transactional branch visibility. Our experience suggests that correctness in the lakehouse is best addressed not by patching failures after the fact, but by restricting the programming model so that many illegal states become unrepresentable.
format Preprint
id arxiv_https___arxiv_org_abs_2602_02335
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Building a Correct-by-Design Lakehouse. Data Contracts, Versioning, and Transactional Pipelines for Humans and Agents
Sheng, Weiming
Wang, Jinlang
Barros, Manuel
Montana, Aldrin
Tagliabue, Jacopo
Bigon, Luca
Distributed, Parallel, and Cluster Computing
Artificial Intelligence
Databases
Lakehouses are now the default substrate for analytics and AI, but they remain fragile under concurrent, untrusted change: schema mismatches often surface only at runtime, development and production easily diverge, and multi-table pipelines can expose partial results after failure. We present Bauplan, a code-first lakehouse that aims to eliminate a broad class of these failures by construction. Bauplan builds on a storage substrate that already provides atomic single-table snapshot evolution, and adds three pipeline-level correctness mechanisms: typed table contracts to make transformation boundaries checkable, Git-like data versioning to support reproducible collaboration and review, and transactional runs that guarantee atomic publication of an entire pipeline execution. We describe the system design, show how these abstractions fit together into a unified programming model for humans and agents, and report early results from a lightweight Alloy model that both validates key intuitions and exposes subtle counterexamples around transactional branch visibility. Our experience suggests that correctness in the lakehouse is best addressed not by patching failures after the fact, but by restricting the programming model so that many illegal states become unrepresentable.
title Building a Correct-by-Design Lakehouse. Data Contracts, Versioning, and Transactional Pipelines for Humans and Agents
topic Distributed, Parallel, and Cluster Computing
Artificial Intelligence
Databases
url https://arxiv.org/abs/2602.02335