Spark Connect: Flexible, Local Access to Apache Spark at Scale
Summary
- Cluster abstraction layer: Spark Connect abstracts Spark clusters away, enabling developers to write code that focuses on jobs rather than cluster management, versions, or upgrade complications.
- Platform portability: By using unresolved logical plans and the DataFrame API, Spark Connect makes Spark code portable and platform agnostic, enabling code to work across different environments seamlessly.
- Language expansion: Spark Connect enables support for additional programming languages such as Go, extending Spark accessibility beyond traditional Scala and Python ecosystems.
Spark Connect: Flexible, Local Access to Apache Spark at Scale

Talk by James Malone, Product Manager, Databricks
What if you could run Spark jobs without worrying about clusters, versions and upgrades? Did you know Spark has this functionality built-in today? Join us to take a look at this functionality — Spark Connect. Join us to dig into how Spark Connect works — abstracting away Spark clusters away in favor of the DataFrame API and unresolved logical plans. You will learn some of the cool things Spark Connect unlocks, including: Moving you from thinking about clusters to just thinking about jobs Making Spark code more portable and platform agnostic Enabling support for languages such as Go
Here’s more to explore:
Production ready data pipelines for analytics and AI: https://www.databricks.com/solutions/data-engineering
The Big Book of Data Engineering: https://www.databricks.com/resources/ebook/big-book-data-engineering-2nd-edition
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements
Chapters
0:00Introduction and agenda1:15Traditional Spark architecture5:08Limitations of current systems10:27Introduction to Spark Connect13:47Benefits and use cases19:37Solving operational pain points22:25Practical demonstrations26:31Common questions and FAQs30:28Community involvement and wrap-up
FAQs
What problems does Spark Connect solve?
Spark Connect abstracts clusters away so developers can focus on writing Spark jobs rather than managing clusters, versions, and upgrades. This reduces operational complexity and improves developer experience.
How does Spark Connect use logical plans?
Spark Connect uses unresolved logical plans and the DataFrame API to abstract computation from execution. This enables code to remain platform agnostic and work across different Spark environments.
What is Spark Connect?
Spark Connect is a thin-client architecture for Apache Spark that separates client libraries from cluster computation. Instead of embedding Spark in client processes, Spark Connect sends execution plans to a remote cluster, enabling better isolation and easier versioning.
What is dependency isolation in Spark Connect?
Spark Connect isolates client libraries from cluster dependencies. Each client environment manages its own dependencies independently, preventing version conflicts and allowing different clients to use different versions of Spark libraries.
What is the status of Spark Connect in Spark 4?
Spark Connect has graduated from experimental to production-ready status. It's now the recommended way to access Spark from external applications, with improved performance and full feature parity with traditional Spark APIs.
Full transcript
0:00 Introduction and agenda
Hello and welcome. Thank you all for being here. I appreciate it. To start things off with, as with everything in life, there is fine print. So, there's terms and conditions. There's a bunch of legal text. If you're curious, my best idea, take a picture, ask chat GPT to summarize it for you and we're all good. Thank you all for being here. I am a product manager at Data Bricks. It's nice to be back at a Spark event. The last Spark event I was at was Sparksummit uh in 2017.
So, it's really nice to be back. I joined Data Bricks specifically to get closer and back into the Spark ecosystem. Today I'm going to be running through something that uh came out actually in Spark 3. 5 but seemingly not enough people know about and it's something that I'm pretty passionate about because I think it's very interesting and that is Spark Connect. Uh as a disclaimer, I am just a mouthpiece here. The Spark community did all of the work and a lot of credit goes to the very diverse and hardworking Spark community.
I am just the messenger here, but I want to deliver a message around something that I think could be really impactful to you. So we're going to do a few things today. We're going to look at traditional Spark clusters. This is the what what led to Spark Connect in the first place? Why did we start thinking about this problem? Two, we'll dig into under the covers a little bit. What is Spark Connect? How does it work? Uh what use cases might it be good for?
1:15 Traditional Spark architecture
And then three, it's really the what's in it for me. It's making it real and trying to tie in real life use cases. uh how you might use Spark Connect in use cases that you already have or if you don't have any uh thinking about Spark Connect for use cases that you might have in the future. So here's the TLDDR. This is if you take nothing away from this presentation except this and I like to do this just so you sort of know like what's the end message that I want to leave with you.
Spark Connect is an abstraction layer. So you can spend less time thinking about and managing, troubleshooting, debugging Spark clusters. That's it. Spark Connect abstraction layer takes away a lot of the pain of Spark clusters. And if if that's all you want from this session, you can definitely save some time. I'm going to go into the specifics, but that's the highle message uh that I'm going to try and leave you with today.
You're going to hear me talking a lot about Spark. And just to disamiguate a little bit because that could be uh we're at a data bricks conference so that could be uh a confusing term. I'm referring in this presentation mostly to open source Apache Spark. When I'm referring to something specific to data bricks, I will do my best to call that out. But if I'm saying Spark, just know that I'm referring to open source Spark.
So this is a really important call out because this is not tied to data bricks. This is something that exists in Spark today, which is why I want everybody to know about it. So if you've used Spark for long enough, this will make intuitive sense to you. This is kind of a highle overview of a traditional Spark cluster. Uh you have tens, hundreds, thousands of applications. You have a monolithic Spark driver and then you have you know any number of nodes could be small singledigit number of nodes to thousands of nodes.
Uh back when I ran a Spark service at Google, we had a leaderboard for who was creating Spark clusters with the greatest number of nodes. So, I've seen uh and I think many of you have probably seen Spark clusters that range wildly in their uh size because it can be really hard to balance one giant Spark cluster. What often ends up happening is people will create many different Spark clusters. Sometimes this is around security isolation.
You want a Spark cluster for a given team or it's around performance. You want a Spark cluster specifically for a really annoying job that may be poorly written or you want a Spark cluster with certain accelerators like GPUs. Maybe you're using different clouds or different regions. You have Spark clusters in different regions. The end result is you have a complicated technical architecture. I love Spark, but like the architecture is complicated.
You have a technical complicated technical architecture that's usually in most large customers repeated kind of all over the place. So you have a headache that's been copy and pasted kind of uh throughout. Let's dig into the headache a little bit. The Spark driver is monolithic and there's a lot that's packed into it and this is sort of the seed for the initial seed for why Spark connects. You have application logic, you have an analyzer, you have optimizer, scheduler, you have the distributed execution engine.
You have a lot of complexity packed into this single layer. And this complexity makes managing Spark clusters potentially really hard and annoying. And there's really no uh there's not great isolation in uh or abstraction in this monolithic uh Spark driver, which can create quite a bit of pain. Now what's interesting is because Spark can be complex and difficult to run. People often run Spark in data centers. Uh you may use data bricks, you may use Spark on EMR, you may use Google Cloud Data Proc, you may run Spark on Kubernetes yourself.
5:08 Limitations of current systems
But the end result is people often run Spark in data centers where they have the capacity, they have uh infrastructure, they have the wherewithal to run this really kind of complex package in a distributed and well-run way. problem is is people are using and building a lot of datadriven applications that don't live in a data center. You may have an IDE that you like using for development. That's probably living on your laptop, not in a data center.
So question becomes, how does that actually interact with a Spark cluster? You may have application servers or web servers that want to use or rely on Spark. They may not be in the same data center or data center at all. You may have other programming languages. You may want to write spark jobs in go for instance and that's just a bit of foreshadowing. Uh you have edge devices. So you may be running a manufacturing plant and you have machines that are emitting telemetry that you need to aggregate and process or you're working with uh Raspberry Pies.
You know Raspberry Pies are embedded all over the place. It's really surprising what they're actually in. Uh so you may have all these edge devices all over the place and again they're far away from where you're actually running Spark. So a question becomes how can you bring them closer together and also solve the pain of managing complex spark clusters? Well, people have tried to kind of embed so to speak spark in applications.
One approach people use SQL. SQL's pretty straightforward, right? The problem is is using SQL as just your only abstraction mechanism is cleaner. you can kind of deal with text and strings, but it's not as expressive as uh all of Spark would allow for. So by only pinning to SQL, you're kind of self-limiting uh how much of Spark you can actually use. There's been a prepoundonderance of different kind of uh proxies for notebooks and IDE.
So I just actually had lunch with a customer. you're reminiscing on like, but there's proxies for notebooks, there's uh SSH tunnels that people have built. Uh cloud providers all have their own tunnels. So, people have tried to solve uh connecting and actually using these Spark clusters closer to the data applications through a host of different mechanisms. If you want to use a language that doesn't have JVM interoperability, you're in a much worse spot.
It's it's either really difficult or almost impossible. So, uh, in some cases, people have to even get out of the pro programming language they're comfortable with to go use Spark. Multi-tendency can cause a host of really annoying problems. And if you've I'm like slowly surveying the audience and I'm seeing pain in people's eyes as I show these. So, you have maybe an application that's really noisy and it causes a lot of uh out of memories uh issues on your cluster. you may have dependency problems.
So maybe somebody's written a Spark job and the number of dependencies for that job uh or the dependencies that job requires is huge. Upgrading Spark clusters is also traditionally for a lot of people a pain. If you are for instance using Spark 3. 1 somewhat recent version of Spark and you want to go to like Spark 3. 5 or Spark 4, it's often quite logistically complex for people to go upgrade their clusters because they have to upgrade the cluster and also all of the applications that talk to it kind of in one one full swing and that can be logistically very very difficult.
Debugability. It can be really hard to understand why something in a Spark cluster is not working because everything's all kind of muddled together. So people go and look at you know tailed spark logs try and figure out what's going on. You may have a thousand nodes and you are looking for the problematic job by looking at memory on nodes and you're trying to find out what job is running on that node. It can be really complex to debug uh what's running on a multi-tenant spark cluster.
And that also dubtales to observability just understanding who's doing what what they're using can also be uh logistically pretty difficult. You don't have to raise your hand. This is more a rhetorical question. But like I would ask another way of looking at this. Yeah, one person raised their hand. I will see if I can get you a t-shirt. Uh says, "I love managing Spark clusters." But most people generally don't like managing Spark clusters because it's it's not a value ad for what most people want to do.
They're managing infrastructure when in reality they want the outputs uh from that infrastructure. So has a solution been proposed to this? Well, if you look at hyperscaler solutions, I would argue that one of the kind of canonical band-aid solutions is let's just make it serverless. Like serverless fixes everything, right? Well, we'll hide the compute and you know, if you don't see the problem, the problem doesn't really exist, right?
Serverless is just a band-aid. Uh because all you're doing is abstracting away the compute. You're not solving the underlying problems in the actual like Spark execution engine and uh Spark itself. you're just trying to band-aid uh the infrastructure and reneure away all of the problems. So serverless has traditionally been pitched as a solution to these problems. Uh but in just itself it is not a solution to the problem.
10:27 Introduction to Spark Connect
Well, what is a solution to the problem? Spark connect. How did Spark Connect come about? Spark Connect, as with many improvements in the Spark project, came about through a Spark improvement proposal. Uh if you're not familiar with how this works, uh I would actually encourage you to go look get involved in the open source project. The Spark people are awesome. But also a lot of really big upcoming features in Spark have improvement proposals.
So you can actually see what's coming in Spark, you know, 41 and beyond by looking through these improvement uh proposals. So it's really cool. You can actually get a really good sense of where the Spark project is headed. In this case, Spark Connect was proposed in Spark 3. 4. It was released in Spark uh 35. So what is spark connect? The goal with spark connect is to decouple the architecture. We want to essentially create a client server architecture in spark where you can use a thin client API to interact with spark.
So instead of trying to interact with spark directly, you're actually interacting with spark connect. And I'll dig into how this works uh in a little bit more detail, but you can think of Spark Connect as really just an abstraction mechanism um that allows thin client and not fat client APIs or SDKs to connect to Spark clusters. So how does Spark connect work in detail? And I'm going to step through each one of these.
So this there's a lot of text on these slides, but I'm going to uh go through all of this kind of in in pieces. So under the hood what spark connect is doing is the clients are sending unresolved query plans to spark. Uh this is all done over HTTP HTTP2 gRPC. The code runs on the spark server and the results are streamed back in arrow and gRPC. So essentially client comes up with an unresolved query plan hands it off to the spark server.
Spark server processes the data returns results. And this is the you know at its highest most purest level the abstraction mechanism of spark connect. So it starts with the declarative API in this case uh is showing Python the declarative API you're writing out what you essentially want spark to do all of that is done through dataf frames uh in scola it's done data sets and dataf frames that uh job is translated to an unresolved query plan and I will say this this unresolved query plan is also language agnostic and this will become really important in a minute um but this unresolved query plan is essentially a blank template uh which is how spark connect can go implement support in other languages which I'll touch on um in a minute.
This uh logical plan is taken by the spark server and run as a spark job. So it essentially takes the language agnostic input that the thin client sent the spark server, it runs and then it streams the results back to the client. So in this case you don't have a client that's interacting with the spark server directly. the client locally on the machine is coming up with the unresolved query plan and just handing that off to the Spark server and then the Spark server takes that and runs it.
So there's no SSHing involved. There's no uh crazy proxies. It's all a very clean uh abstraction mechanism. Spark Connect has had a lot of work go into it. It was introduced in Spark 3. 5. Uh Spark 4 expanded support for Scola. So essentially there's parody between Scola and Python now. But there are a few sharp edges. Uh, you know, I would love to sell I'm a product manager. I love to sell unicorns and rainbows, but I will be realistic.
13:47 Benefits and use cases
There are a few sharp edges. Uh, the biggest of which is Spark Connect does not support RDDs. There was an architectural decision made that Spark Connect would support uh, dataf frames and newer versions or kind of newer paradigms of programming in Spark, which meant that RDDs are essentially too low level for Spark Connect to support. That's something that's probably unlikely to change in the future with Spark Connect.
You also don't get a Spark context. Right now, Spark ML does not work, although that is one point that I suspect will change over time. So, the biggest, you know, the biggest lever uh for you to decide whether Spark Connect makes sense for a use case is are you programming in RDDs? If you are dead set on programming in RDDs or you have libraries that do, Spark Connect, at least right now will not work. If that is not a constraint for you, Spark Connect would I I'm very confident work for uh your use case.
This takes us closer to kind of the perfect compute uh where everything is isolated. You have the Spark Connect interface API. Then you have the client libraries that talk to the Spark Connect API. Spark Connect hands off the plans to the Spark driver. And then your job gets run on Spark executors. we start isolating things and component componentizing things uh with the isolation of Spark Connect. This becomes really important for reasons I'll go into in a minute, but we're trying to essentially break things up and modularize them.
So, let's go back to the use cases where you have a bunch of stuff that you may want to use Spark with. You may want to embed Spark in a notebook or a web UI. What does that look like with Spark Connect? I'm gonna take a quick note and just say Spark Connect is G and Spark 4. There's a ton of stuff in Spark releases occur I looked like about every year. Uh there's a ton of stuff in Spark 4. Spark Connect is but one piece.
There's for instance a ton of SQL improvements in Spark 4. Uh if you're interested in changes in Spark 4, there's a session. If you're interested in upcoming changes in Spark 4. 1, there's also a session as well. Those sessions are being led uh by two PMC members from the Spark team. So I will just shout out say if you are interested in what's new in Spark 4, what's coming in Spark 41, there's sessions that dive into a lot of the small pieces in here.
I'm just focusing on one kind of small part of Spark 4. So Spark Connect is G8 in Spark 4. Do you need to care? Do you need to know? Well, not really. If you're not using RDDs, your job would probably work with Spark Connect today out of the box. And you actually may be using Spark Connect. I suspect some of you are actually using Spark Connect and you don't realize it. And I'll unpack that in a minute. Uh but more likely than not, uh your your code would work or your job would work on Spark Connect today.
What do you get? Well, you get dependency isolation. You have that abstraction layer. So you no longer have to think about dependency management, memory management. A lot of those problems of traditional Spark clusters go away. It also means and I'll show some examples here, some code examples. Uh and I have a link later on the presentation to a GitHub repo for people who want to go and play with some of the examples.
Uh but this also makes upgrading Spark clusters super easy. And what do I mean by super easy? It's one environment variable change. If you want a job to point to cluster A one day and then you want to point it to cluster B another, you just change one configuration variable. It's changing a URI prefix. So if you want to go upgrade, you just point your job at a new thing and it just it works. You don't have to think too hard about it.
Spark API, Spark Connect has backwards compatibility built into it. So if you point a job to a upgraded Spark cluster, uh you don't have to think twice about it. It just it just works. And what don't you get? Well, mainly the RDD APIs. If those are a dealbreaker, Spark Connect uh would not work for you. Uh if you want to go tune like JVM properties um for instance, that would also not work as well. What if you're a data engineer and you want to use Spark Connect.
So what does it sort of give you? Well, you can use Spark from pretty much anywhere. uh you could open up a client SDK for example uh in an IDE and go use go connect to a Spark service without a lot of configuration on a laptop or a web server or a front-end application because you can do that you can also do things like step debugging inside of your IDE so if you are writing a for example a Pispark job and you want to go do breakpoint debugging spark connect makes that possible locally because it's creating the query plan and the IDE are working together so you're actually able to do like breakpoint debugging and step through Spark jobs locally on your computer using a remote Spark resource.
You could use a local Spark resource too, but uh using really any Spark server. Spark Connect supports nonJVM languages. I have an example of this uh and it makes upgrading Spark just dead simple or changing between a staging and a prod environment uh which I will I will show you. There's one Spark property that you have to change. So super simple to actually enable using Spark Connect if you want to go use the PISpark Spark Connect client.
It's just one Python library. So again, what we're trying to do with Spark Connect, but also I think Spark in general is trying to just make things much easier to install and uh use out of the box. That's just a brush like what's really, you know, if I were you, I would say what's what's really in it for me. So let's go back to the kind of operational issues that most people have with Spark clusters. You don't have to worry about out of memory issues uh because the Spark Connect gateway is isolating uh jobs and componentizing jobs.
19:37 Solving operational pain points
You don't have to worry about dependency conflicts. Upgradability as I'll show you is not a problem. Observability and debugging are much much simpler. Uh so it's trying spark connect really abstracts away a lot of the traditional problems people have in wrangling spark clusters uh away from you so you can actually focus on writing your writing your code specifically. What does this mean? Well since a lot of things are running locally in the client you aren't going to go kill the Spark driver with out of memory issues.
Dependencies are isolated for each application running with Spark connect. So you don't enter this really complex like dependency heck where you're trying to wrangle dependencies between jobs out. Upgrades can occur independently of applications. So you can upgrade a cluster, you can create a new cluster and just point your apps at it and uh you can decouple the two. So upgrades, cluster upgrades are much much easier which allows you to get newer Spark features faster.
You can apply security upgrades. You could change maybe you want to go from a VM to a Kubernetesbased Spark environment, whatever. Uh it's much much easier. Step three debugging allows you much easier control over debugging your Spark applications. And because of that observability, there's better logging and metrics. And I will say on the last point, the observability piece um is also very uh I think top of mind for uh the Spark project as well.
Just kind of following some of the discussions in the Spark uh project. I think that's an area where there will be some um expanded focus in the future. With Spark Connect, you get client isolation. So uh this slide was actually taken from uh data bricks talk on lakeguard which is kind of better security isolation for spark clusters. Spark connect is one component of that. Uh but because you have that spark connect layer and each client's talking to spark connect individually, you do get isolation from the spark engine. uh so there's a client server architecture uh and you also get isolation from other users so you don't have users uh trumping on each other as much now once they enter the actual like spark execution environment things can become a bit more difficult but at least starts to abstract away some of the kind of shared infrastructure that can make managing uh and securing spark clusters really really annoying I'll walk through examples of each of these but at a high level uh spark Spark connect is in Spark 3.
22:25 Practical demonstrations
- It's G and Spark 4. So you could go use it today. Uh there's SDKs that are evolving with new language support for Spark Connect. Uh and you can build interactive data applications. So kind of like what does this what does this look like? Uh some people don't like using a web web notebook or IDE. I'm at a data bricks conference so I have to be careful. But like I don't like using a web notebook. I just don't. I never have and I probably never will.
Uh I like using an IDE. Uh that's just me. Uh with Spark Connect, it's super simple to use your IDE of choice uh and go run your uh Spark jobs. So in this example, there's um some code that will get converted into an unresolved logical plan, passed off to the Spark server, and then the results uh streamed back. In this case, if you wanted to use like Python, all you have to do is install one Python package and you're you're good to go.
I had mentioned that some of you may have used Spark Connect without knowing it. If you've ever used the VS code extension for data bricks or you've used data bricks connect that's using spark connect. So if you've ever touched either one of those congratulations you're already you're already using it now you know how it works. Um but the neat thing is that technology exists in in Spark fundamentally. So it's not data brick specific that mechanism to actually uh connect an IDE to a Spark cluster is part of Spark which is uh kind of the key thing that I'm trying to impart.
Here's some uh here's a an example which I saw somewhat recently that kind of blew my mind. Um there's there's Swift, there's Go, there's Rust, there's. NET clients for Spark. I will give a disclaimer. These are developing. Um a lot of these are actually much more feature in Spark 4, but you're starting to see uh new language SDK implementations for Spark Connect. So if you really love using Swift and you want to go use Swift and Spark and credit to the team at Apple for building I think all of this uh you could do that today.
Um which I think makes Spark long-term much more adaptable because you know programming languages some come some go people's preferences kind of vary. This makes Spark much more accessible in my view to a much wider range of people because uh different languages people you can kind of meet people where they are. You could also have interactive applications. So if you wanted to go build like a Dash dashboard, uh you could go go do that.
If you wanted to go build a Python application where you have like a u you're just doing data serving, you want to go process data on the back end with Spark cluster. Yep, you can do that. So you can basically because Spark connect is client server architecture, you can embed a Spark cluster in your applications pretty triv trivially at this point. Uh because all that is happening is in this case, let's say it's Python.
That Python library is just creating that kind of abstract unresolved plan and that's been sent sent off to the Spark server. So you don't have to think too hard about how all of it gets executed. Say you want to go switch Spark clusters. I've alluded to this uh a few times, but say you have a dev test and prod uh Spark server and you want to go run a job on a staging environment and then switch it over to prod. Literally all you have to do is change one variable and that variable is just a URI for what Spark cluster you're talking to.
Spark connect the abstraction layer makes it very easy to point that job at any number of different environments or you could run that job concurrently on all different you know multiple environments all at once. Um, in this case you the we've mocked up like the URIs, but you can it's very easy to change uh what what Spark Connect is talking to. And again, it's Spark Connect is designed to be backwards compatible. So if you went and upgraded to a new Spark version, the job that's using a Spark minus one minus2 version should work.
Um, a lot of a lot of thought went into designing Spark Connect to make upgradability seamless without you having to worry about will this work, will this break? um how do I actually upgrade my cluster? This example is loosely one from uh the uh Spark documentation, but it kind of shows in detail like what if you wanted um like looking at okay, it's counting A and B lines. So say you had a log file and you just wanted to count A and B lines and you had a Spark server running locally.
26:31 Common questions and FAQs
This this would oh the URI is kind of bogus, but like you get the point. it would it would talk to Spark locally, but if you wanted to go run it remotely, you just change the connection URI and it just works out of the box. Say you had a datab bricks uh classic cluster running and you change this to go point to a data bricks cluster. Uh it would basically create that abstract plan, ship it off and then stream the results back to your laptop.
So all you need to do is literally just run your Python interpreter and pass it your Spark job and it runs out of the box. So you're not thinking about like SSH tunnels, you're not thinking about trying to use a Spark submit, you're not thinking about how to submit this to a Spark cluster without overloading it. It just it's it's designed to work um seamlessly out of the box. There are a few questions that I often encounter.
RDDs is the big one, which is why I've tried to be really explicit about it. Um but one of the questions is, is there an O mechanism built into Spark Connect? This is a euphemistically said choose your own adventure answer. It could be a good answer. It could be a bad answer. And I will take no claim on which one it is. There's there's not an O mechanism built into Spark Connect. Um because coupling I think there's a fair claim that coupling O and Spark could also be like kind of annoying and weird.
Uh but it's using HTTP2. So whatever proxy or network that you set up, it just kind of transparently works. So, as long as you've set up a networking pathway between the client and the server, things work. But there's not an off mechanism built directly into Spark Connect because arguably that could also get really messy and kind of annoying to support um long term. Is this a feature that's specific to data bricks or, you know, X versions of Spark?
Nope. It's it it was placed in Spark 3. 5, which means it's just sitting there for any any environment that's running or uh Spark 35. I don't know anybody that's deployed Spark 4 images yet. Um it's coming to data bricks uh relatively soon, but uh it's it's built into Spark. So if you have a Spark environment, Spark Connect works. I strongly suspect that Spark Connect will also be used by non-Spark engines. And what do I mean by this?
Uh if you want to talk Spark APIs, Spark Connect again, it's uh kind of a thin client that takes Spark APIs and converts it into an unresolved plan. So I expect other engines that want Spark interoperability will probably themselves use Spark connect because it essentially allows you to convert from set of Spark APIs to an unresolved plan that can get run either in a Spark engine or you know whatever proprietary query engine you have.
So I fully expect in the long term Spark connect will also be adopted the Spark Connect APIs will be adopted by non-spark runtimes because it creates a bridge for non-spark runtimes and Spark runtimes to run the same Spark code. um kind of transparently behind the scenes. It's a hypothesis. I hope it comes true. Uh will it do everything? No. As I've as I've covered, it's only in Spark 3. 5 and above. It's G8 officially in Spark 4.
Uh if you uh you know, it's not Spark Connect is not intended to be the only way that you do things. Um, and it would be foolish of me to suggest, but it could potentially be very useful for a lot of use cases, which is why I wanted to give a talk to sort of advocate for its availability because it it really can be quite powerful. If you're interested, this is a good slide to take a picture of. Um, the QR code is not nefarious, I promise.
Um, I'm not going to roll you. Um that's a link to a GitHub repo with a bunch of examples. If you're curious about this, I would encourage you to take a look. There's a lot of examples that have been placed inside of the Spark project. Um a lot of bricksters have created uh repositories with Spark Connect examples. Um some of the bricksters even created the SDKs or the client implementations for some of the programming languages like I think a brickster created the Go um implementation.
30:28 Community involvement and wrap-up
So there's a lot of activity around Spark Connect. So I'd encourage you to uh to take a look. Finally, uh Spark is open source. If you are curious, if you have an opinion, if you have a complaint, if you're curious, get involved. Um, you know, part of why open source software is so powerful and so enduring is not only because it presents an abstraction layer so people feel like they have a lot of freedom of choice, but also the diversity of thought is part of why open source I think is so powerful.
So please, I I strongly advocate if you're on the fence, just get involved. I don't I don't think you'd regret it and everybody's um really really friendly. More mandatory slideware for you. Uh if you're curious about continuing your journey, there's several options available to you. The feedback on the surveys is really useful. So please uh I implore you uh fill out the surveys, good, bad, whatever. They're very very useful.
Uh and with that, I think we have fiveish minutes. So I'm happy to take any questions that anybody has. Thanks.
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.