Skip to main content

Summit Live: Spark Talk - Everything Spark, Lakeflow Declarative Pipelines, and Open Source

Summary

  • Declarative Pipelines Announced: Apache Spark's open-source declarative pipelines eliminate procedural code for ETL—you specify what should happen and the system handles retries, parallelism, and errors.
  • Spark Evolution: From RDDs to Spark SQL to fully declarative pipelines, this evolution makes data engineering more accessible and maintainable.
  • Open Source Innovation: Michael Armbrust highlights Databricks' commitment to open source, with declarative pipelines removing the complexity of manual optimization.

Summit Live: Spark Talk - Everything Spark, Lakeflow Declarative Pipelines, and Open Source

Watch: Summit Live: Spark Talk - Everything Spark, Lakeflow Declarative Pipelines, and Open Source
Databricks co-founders created Spark, the wildly popular open source foundation of Databricks, way back in 2009. Learn from Michael Armbrust, creator of Spark SQL and leader of Databricks Delta, about the latest happenings in Spark, Lakeflow Declarative Pipelines, and open source.

Chapters

FAQs

What are declarative pipelines?

Declarative pipelines let you specify what data transformation should happen, and the system automatically handles how to implement it—including retries, parallelism, and error handling.

How does this differ from traditional Spark code?

Traditional Spark code requires you to manually write procedural steps, handle retries, manage parallelism, and optimize joins. Declarative pipelines abstract all that away.

building declarative pipelines

Declarative pipelines define what you want to accomplish (the desired data state) rather than how to implement it step-by-step. This video covers Spark Declarative Pipelines, where you specify transformations in a declarative syntax and the system automatically optimizes execution. Instead of writing imperative Spark SQL or DataFrames code, you declare the business logic and let the optimizer handle efficiency. Declarative pipelines reduce boilerplate code, improve maintainability, and enable better optimization by the execution engine. They represent a shift from low-level data engineering to expressing intent.

What can Spark Declarative Pipelines manage beyond SQL transformations?

While SQL transformations are foundational, Spark Declarative Pipelines extend beyond SQL to manage the full lifecycle: schema inference and validation, data quality checks, feature engineering, model serving pipelines, and observability. This video indicates that declarative pipelines can orchestrate complex workflows combining SQL, Python transformations, external API calls, and model scoring. By expressing entire workflows declaratively, teams avoid error-prone imperative code and enable better scheduling, monitoring, and error handling. Declarative pipelines become the foundation for reliable, maintainable data and AI workflows.

What are people using instead of a lakehouse in 2026?

This video surveys the 2026 data landscape and observes that the lakehouse architecture—combining data lake reliability with warehouse performance—has become the standard for serious enterprises. Some organizations use multiple specialized systems (pure data warehouses, vector databases, feature stores) but are increasingly moving toward unified lakehouse platforms (Databricks, modern competitors) that handle analytics, real-time, and AI workloads. Rather than replacing the lakehouse, the evolution is adding new capabilities within the lakehouse (multimodal support, vector search, real-time features) rather than moving to entirely different architectures.

Full transcript

0:00 Introduction

We are back at Summit Live and what an absolute amazing conference we're here at. Like the atmosphere is absolutely electric and we now have a very fantastic guest that I'm so happy to be able to introduce. Please welcome, distinguished engineer, and I'm going to try and get this right. Uh, as in uh Apache Spark, Spark SQL first contributor and structured streaming. Structured streaming. Thank you. I knew it. I knew it all along.
Yes. Uh, and don't forget Delta Lake. Yeah. Yeah. So, uh, Apache Spark has been on quite a journey and we've now got the next evolution of that this week. Do you want to tell us about it? Yeah. So, this is going to be announced tomorrow officially in the keynote, but we can give a little bit of preview for it today. We're really excited to announce the open sourcing of declarative pipelines. Amazing. Declarative pipelines changes the way that people write programs that work with ETL.

0:57 Declarative pipelines

Before you had to sit down and you had to write these procedural Spark programs that would step through every single step, including things like retries and parallelism and error handling. And with declarative pipelines, instead you just say what should happen and the system figures out how to make it true. Okay. So I'm not as clever as you. So I think I'm going to ask you to explain it maybe a little bit easier so that I can understand it.
Um my understanding is that a lot of what you're doing with Spark at the moment is you Yeah. You are saying kind of like here are the things that you need to do, but there's a lot of detail involved in that, isn't there? So especially when it comes to things like what do I want my partitions to do, where do I want them to go, what kind of join do I want. Are you saying that these are kind of things that are going to be a lot simpler now with That's exactly right.
And I think you look at it kind of through the history of Spark. When we first started Spark, it was RDDs which were functional and they abstracted away dealing with thousands of machines but still you had to think in terms of map and reduce which wasn't terribly natural. The first step towards declarative was making Spark SQL where now instead of having to think about map and reduce you could say things like compute an average, do a join and the system would figure out how to do it.
But that's only making the query itself declarative. And there's still all this glue code that has to go around it. Oh, I see. To create the table and run the stream and restart the stream when it fails. And so this brings us back to with a single SQL query, you can have an end toend declarative pipeline that takes care of all of that. I'm glad that you mentioned actually because in the back of my head I was thinking, oh, I'm pretty sure that Spark is kind of declarative at the moment if I'm not using RDDs.

2:24 Auto CDC and use cases

But you contextualizing it with the point of the glue code that kind of goes with it, making that easier for people. Could you talk a little bit more about kind of examples of glue code that work better with declarative pipelines now? No, absolutely. So, you know, one really good example is when you're doing change data capture. So, you've got a stream of records coming in from some other system and you want to apply them to a delta table.
The merge command is declarative for doing one part of it for taking a row and doing an upsert into that table. Okay? But it doesn't handle what happens if there's multiple records for the same key. How do you order them? What happens if multiple records arrive in different micro batches? How do you remember which version is stored in the table? How do you handle deletes? How do you handle tombstones? And so declarative pipelines uplevels it with this feature called auto CDC where you just say I want to do change data capture.
This is my source. This is my destination. This is my primary key. The system figures out the rest. Okay. Then so I know some people have already been working with this a little bit and again it's part of the open source program. So who are the people who are working with this? What do they like about it? What what are they telling you about it? Yeah. So, you know, this idea of declarative pipeline started inside of data bricks.

3:31 Streaming and incremental data

It was formerly called Delta live tables and we've had thousands of customers have success with it. I think what's really cool about it is we've enabled either people who are already sophisticated data engineers to focus on what really gets value for the business, but also people who are just SQL analysts. They're experts in their domain, but they're not experts at distributed programming and error handling and all of these other things.
And so, this turns them into first class data engineers. So we've got all of these great examples of people where they say, you know, I'm a SQL expert, but now I'm able to build 100 table declarative pipelines that operate efficiently and reliably. And then I just got one question. So like so like a lot of people are using Spark to do uh to just do batch ETL, but is this only for batch or can you do streaming with it as well?
That's a great question. So it is is both batch and streaming. And really the way I like to think about it is it's about being incremental. And a lot of people hear streaming and they think, "Oh, that must be expensive and complicated and terrifying." Exactly. And that's one of the really cool things about the way DT extends or declarative pipelines extends the ability to be incremental is we've got both streaming and materialized views which prioritize either throughput and performance or expressivity and correctness and you can kind of choose what works best for any given problem.
And you always have this ability kind of the unique ability of Spark structured streaming was always the ability to tune cost and latency. Streaming doesn't have to mean there's a cluster that you're paying for 24/7 giving you the absolute lowest latency. Sometimes it means once a day you process the data and you move on. And the important thing here is it's only processing the new data. It's not processing everything from scratch every single time you start it.
That's a big benefit because um a lot of uh a lot of times when people are first starting out building like data warehouses, they end up just recalculating the entire table every time they run it. That's exactly where this sounds like it wouldn't do that. Yeah. Yeah. And one of the really cool things structured streaming always gave you this ability to make things incremental, but going back and forth between continuous execution or triggered execution required you to again change a whole bunch of that glue code how things are going to run.

5:14 Open sourcing the technology

Because running in triggered, you want to do one table at a time. When you're running in continuous, you want everything to run in parallel. Now with declarative pipelines, that's just one configuration flag that changes how the pipeline operates. So as you have changing business goals, you don't have to rewrite all your code from scratch. Okay. Then and so you mentioned earlier that we've had Delta live tables which has been previous but now uh it's going into open source.
So can you tell us you know one what was the drive for that? But then two, how did the conversations happen? How did the community react? You know tell I'm sure there's a story behind it because open source communities always have a a vibe should we say. How did it go? Tell us. Well, so you know data bricks has a long history as you mentioned uh spark struct uh spark sql structured streaming delta ml flow unity catalog we've open sourced many different projects so declarative pipelines is just the latest in the stream of those and as with all projects you start by bringing it to the community you open what's called a spark improvement proposal talk about what you're going to do in this case it wasn't kind of a crazy idea it was something that was already battle tested inside of data bricks and so the community actually embraced it almost immediately I think there were no negative votes everyone was super excited to see a contrib contributed to the project.
Okay. And so for the last month, we have been a whole bunch of engineers inside of data bricks have been working full time to get it into open source so that it could be real at this conference. And I you mentioned materialized views, but is is that the same thing? So you've got declarative pipelines and materialized views is one and the same. Um because I think people have been asking for materialized views for a long time inside of Spark.

6:45 Materialized views

Yeah. So I think the way I think about it is you know declarative pipelines are big complicated multihop many tables many materialized views. Materialized views are one interesting tactic for making ETL declarative. It was kind of the OG way of doing declarative ETL where instead of having to create and populate this table and keep it up to date, you just said create materialized view and the system manages it for you.
What declarative pipelines adds to that is the ability to chain together hundreds of materialized views along with streaming for ingestion and low latency transformations all into one single unit without having to orchestrate all those things um you know by yourself basically. That's exactly right. But you know I think as you might be hinting at this technology also underpins our ad hoc materialized views. So when you go into data brick SQL today and you say create materialized view what you're really doing under the covers is you're creating a pipeline with one table in it and you don't need to worry about all of that complexity.
Wow. Yeah. There are a few things where I've started using a brand new feature and then I realized underneath I'm like hang on a minute I think I know what this is how this is working. So you mentioned about ETL and obviously this is a big part of that kind of T part but that's not the only part of ETL as well. So do you want to talk us a little bit around kind of the either sides and what's going on in data bricks? Yeah absolutely.

7:57 LakeFlow Connect

So ETL in data bricks is powered by lakeflow which is kind of our unified suite for doing everything from ingestion to transformation to orchestration. So starting with ingestion, the first step is you need to get the data into the platform. And Spark has always been kind of the undisputed leader at working with big data. So if you've got a problem like I have a thousand JSON files sitting in S3, Spark is a very easy way to do that.
But there were all of these other important data sources, things like Workday and Salesforce and SQL Server and Oracle that they may not be as big as, you know, millions of JSON files, but they're equally important to your business. And the best way to get the most value from the data intelligence platform is to not just have some of the data, it's to bring all of the data in. And so that's why we created LakeFlow Connect.
LakeFlow Connect is no code point-and-click ingestion from a wide variety of data sources. So anybody can do it and bring in all of that data that's important to your business. Okay, wonderful. So I know there has been some ingestion that's kind of been going on for a while now. of the recent developments, what are you have you either seen that you have been most excited for or know us secretly on the road map that you are also excited for in the future?
Well, I think you know what's really exciting is Lakeflow Connect is now GA and so a bunch of those sources are available and being used in by in production by many of our biggest customers and I think as we you know go forward in time we're going to be adding more and more and more connectors to it. So the exact road map I can't get too into too many details but stay tuned because there's going to be a lot of really cool connectors there.

9:32 Orchestration with jobs

Okay then. And maybe in terms of the mechanics of it. So uh why why should people use something like leg flow connect other you know compared to you know other tools are available obviously but having it as part of data bricks I feel like there are benefits that are that are coming from that. Uh what would you see for that not just performance obviously? Yeah. No absolutely I mean first of all it is actually quite performant.
We've been really impressed with the numbers there. It's built on spark and structured streaming and delta and all these underlying technologies. The thing I think is most exciting is you don't need to set up some extra system. It's you don't need an extra contract. It brings the data directly into Unity catalog where it's discoverable and governed by with all of the other data in your organization. And so it really comes down to that unified analytics platform being able to do all of this in one space without having to cobble a bunch of different tools together.
That makes it so powerful. And then of course coming to the final part of LakeFlow orchestration. It's all or both pipelines and connect are all orchestrated by data bricks jobs which is a rockolid production system for doing anything. It is the unsung hero of data bricks I must say like it has been a reliable product of ours for what seven years now 10 years originally written by mate I think back in the day it was called elastic spark at le and I think in the codebase it's still called that but uh you know data bricks jobs has really gone I think one of the coolest things in its evolution is it's now so much more than spark we have people who use it to build models we use it to uh update dashboards to run uh DBT projects and even I think Bal might hint at this tomorrow, you can even run queries on Snowflake.
Interesting. Sorry, I've never heard of them, haven't I? But we really do think that LakeFlow jobs is the orchestrator for everything. And because it's backed by this rockolid production system with monitoring and observability, you can be confident that all of your data pipelines and everything that you're doing is happening reliably. Yeah, I I'd say as someone who uses a lot of jobs to and the orchestration piece to set up lots of demos that I'm doing, it is great to see just kind of how configurable it's become.

11:14 Real-world impact

You know, I think what once upon a time it was like do the job and then do the next job and then like it's so much more than that. Like again, not not just to like what can you schedule, but in terms of like the looping logic that you've got now and having something that's much more kind of flexible, being able to check them into GitHub. Oh, Chef Kiss absolutely love that. Well, when you mentioned scheduling, I think one of the coolest new features in uh in jobs is, you know, not just schedules, but also triggers.
Schedules are great when like data arrives every day at 9:00 a. m. , but often the world is a lot messier than that. And if you run your job at 9:00 a. m. , but the previous job hasn't completed yet, well, then you're going to be missing data. And if you wait longer for it to arrive, then you have increased latency. Triggers get rid of this problem because instead of running on a fixed schedule, you run when your upstream has changes and the system automatically tracks all of that in Unity Catalog both for tables that are in Unity Catalog as well as files that are governed by Unity Catalog.
And so you can automatically with low latency and low cost trigger these just in time. And the nice thing about workflows as well or or lakeflow jobs is that you know unless uh unless it's running something, you're not actually paying for anything, right? That's exactly right. Whereas whereas uh you know traditional orchestrators like you have to have something up and running all the time but with yeah lake flow jobs was kind of I would like to think of it as our first serverless product.
You never had to think about it. You just created jobs, schedules, triggers, all of these things and then it takes care of it for you. Yeah, the trigger piece is is definitely a nice one. Uh so we do have a little bit of time left. Um are there any customers that you've been working with or customer stories that you've heard of uh where they've really kind of like embraced this and really seen the benefits from it? Yeah.
So, Navy Federal Credit Union is one that we're going to be highlighting in the keynote tomorrow. And basically what they said was they were always struggling with cobbling together a whole bunch of tools to do ingestion and transformation. They had a bunch of, you know, people who were very good at their domain but were not experts in Spark programming. And so they were struggling to get their data ready for consumption.
And with you know a combination of LakeFlow connect and lakeflow pipelines uh you know now they're able to turn these people into first class data engineers that are managing big complex pipelines with hundreds of tables. Absolutely. It does seem uh kind of an unfair thing to ask someone to be like hey you're an expert in your domain uh but now you've got to be an expert in Spark as well. Yeah exactly like also learn about race conditions and tombstones and all of these other problems that you know even I don't want to think about.

Learn more about the Databricks Data and AI platform.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.