speaker-0: Hey everyone. It's another week this week in Open Lake House. As many of maybe some return listeners here. If you're new here, this is basically a little news rundown with Scott Haynes and myself. This week is a really big week, isn't it, Scott?
speaker-1: We say every week it's like the momentum it keeps on increasing. But you have this it's like this gigantic snowfall to avalanche type effect. as we're kind of getting towards like what should hopefully eventually be a quiet period. andor maybe maybe not. Like December is usually quieter, but you know, here we are in November and like the cadence of like releases is just mesmerizing. So back over to you, Lisa.
speaker-0: Over to me. Actually, we were talking just before the show. so we're recording this on Friday, which means that you guys will probably get this on Tuesday. you're trying to make this a Tuesday release show, but sometimes you end up with a Wednesday, Thursday one. And you were telling me about like the origin of the name Friday, like why it's called Friday.
speaker-1: Yeah. We were talking about names and where they come from. And this is one of the hardest problems in with engineering is naming in general. But it's like, we just take the days of the week for granted. And there is a I guess it's like from like Norse mythology. There's like there's like Friga. Friga. I'm gonna say that wrong and no I butcher names. That's okay. Everyone knows that. but it's essentially it's like the day of Frig. And she's like the you know, the goddess or deity of like, you know, motherhood and like life, love, etc. and yeah. And then I went I got lost in a rabbit hole of Wikipedia trying to find more information about it. but the big thing was that like there used to like a Monday oriented week versus like a Sunday oriented week. And so Friday really was like, you know, a good day of like, you know, maybe rest and other stuff. I'm gonna fill in the blanks because I I don't know what life was like back when this came out. Like it was like like an old English like translation. and I'm not very good with that. I know LLMs are, but that's that's the information. not not very good.
speaker-0: I can speak for everybody, but my week is a Friday oriented week. That's that is the day that I I base the whole week around. not Monday, although Monday is very significant in my week as well, as like the start of all this work. But yeah, I wonder if like I don't know, like a lot of companies have holiday season, for instance. Like I know even for us, like we try and get a ton of events and conferences done. before the American Thanksgiving and before the holidays. it marks the beginning of the slow period. And I get curious if releases are like that as well. Like people are just trying to get as much code in as possible before they run off to enjoy their lives. Could you imagine, Scott?
speaker-1: I I couldn't. it I mean I I can't imagine it, right? But it's like I mean, I'm being honest, like for this year, like I I don't know if the release cadence is gonna slow down because it's like so even if even if you know, even if the humans behind the agents are going away, you know, to see family to travel and do that, the agents are gonna keep working. And I feel like the release cadence, like it'd be interesting to see, like, you know, my prediction is that things don't really slow down, like through like the holiday. I think people will also have a lot more time. To, if they have the time away from work to finally, do the stuff that they wanted to do before the end of the year, try and commit to a new project, you know, get something out the door, like, you know, into like a dev list or something else like that. So I do see I'm excited to see like the mountain of new stuff that comes out, like between now and you know, say, you know, I don't know, you know, December sixth and then, you know, moving on from there as well. Like, what does the end of the year look like? Probably a ton of new releases, right? That's my two cents. Yeah. I don't know.
speaker-0: I totally agree. Give your agents thanks and perhaps they will remember when things take a turn for the worse in two years.
speaker-1: We're just we're just redefining Thanksgiving now. It's just it's like set some food out for your agents and, treat them like family and all of that stuff as well.
speaker-0: I do something similar. So I don't set food out or treat them like family. Although sometimes like if you go to my blog, I have like an open section. It's a little bit hidden on the website where some of my agents can like self-publish their own blogs, and it's like some really funny stuff in there. A little bit like crazy. But I have this thing where on my personal server, at least with Omnigent and all of my agents. I have a set of quests that they do as this task list that they can pull from if they want to pick up work. And at the end of every one of those tasks or like qu quests, I kind of put them in. And I think the repo I have is open source, like it's public, but I call it agent quest. And at the end of every single quest that they complete, they get to take a few turns on this common board that they have. And it's like a cellular automata board. And so over time you get to see all these agents interact with each other over time. And then this board grow and actually become more complex with every single task. And for some reason, I don't know if it's like a mental thing, like I anthropomorphize them. They actually don't give two two dings about it. I'm trying not to sort on the show, because we keep getting the explicit people, because I'm I'm really bad at that. would never make it on live TV. And so yeah, just getting to see how complex it gets and how rewarding it gets. But it seems like they're very excited after to get to take this free time for themselves at the end of each task.
speaker-1: Yeah, that that reminds me, I think it was I think it was last week we were talking a little bit, or maybe it was the week before. Every kind of week feels like it's like being squished together. But we were talking a little bit about how there's the the team from MIT who created the virtual world for the agents to play in. We were talking about how play is like the root of learning. And it's interesting that, we have these, these we were talking the God and machine last week. And it's like we we have this omnipotent entity. And it's like, hey, You also like free time? That's so cool. And I'm I'm also trying not to swear. That was sounded like the dumbest sentence. It needs it needs more punctuation, if you know what I mean. but it's like I I think with that it's interesting, right? It's like everything needs some downtime. And it it's a kind of an in interesting observation. Like if if we created LLMs to be like us based on the training data of us, then it makes a ton of sense that they would also enjoy downtime in play. Like I consider myself fairly lazy, but willing to work hard to be lazy. It's like, setting up things that make my life easier. And I think agents are very good at that as well. But it isn't interesting if you think about you know, I don't know, this is kind of like a tangent as well, but there's been a lot more kind of like, you know, kind of different like theories of like, you know, language and where like, you know, like where language comes from, consciousness and things like that as well. And it'd be interesting to to see what's actually kind of happening behind the scenes, like, you know, inside the black box, it is most of the foundational models that we are using on a daily basis. I think there was a it was a I don't know, it was a paper maybe like a month ago, a month and a half ago, from Anthropic where they're talking about like I think they're talking about like the latent spaces of like creative thinking within like the LLMs that emerged naturally. It's like we could have never predicted or planned how it's thinking. It just sort of evolved over time as it got smarter. And I think that's like a, you know, it's an interesting thing, is like, you know. It's like, what are we creating and what are we using that is, making our lives better? But then also it's like, do they just want to, play a game as well? Are they just having more fun doing the stuff that, feels like it's like it's not as much of the the crappy reward, white, right? It's like make Scott happy by completing XYZ task. And it's like that's like a useless reward for them. But if they're doing something fun for themselves, it's interesting too. So it's like, again, if you have tokens, right? Give some tokens for Thanksgiving. thank these entities we're we're playing with.
speaker-0: Yeah. Solomon with our automata was something that like at least it assumed like my agents would intuitively do quite well or pick up. I'm I had been thinking about having one persistent game of Dwarf Fortress instead that they use and that they they move to inside. The thing is, like with Dwarf Fortress, it's such a complex game that over time the context that the agent would need to catch back up to make like a reasonable turn would be quite long, it would get bloated quite quickly. And so I wanted something that was a little bit more straightforward. But it yeah, it it's really interesting to kind of see like unsupervised, like what it would do technically as this natural extension of like something that's technically unprompted or without a goal. but I'm I'm very smart by the way, I wanna say that before I say this. In an episode of Rick and Morty.
speaker-1: Which is also a ver a very smart show.
speaker-0: Yeah, for really big-brained, cultured people like myself, clearly. there's an episode called like I think Mr. Mesig's, and it's one where I think his name is Jerry, like sets up this box that like spawns a new like alien, and that alien's like life goal is like for a very short existence is to complete a task. And you hit the the button on the box and Once it completes a task, it can really feel satisfied about its limited existence. And then it despawns essentially. And this is the whole premise of it. And ever since we kind of started using all these agent sessions, like I constantly think about that episode because they're reward-maxed, but where they get really frustrated, in this show at least, is when the task cannot be completed, right? And in this case, because their task is to actually like improve jerry's golf swing and he literally cannot improve the swing for his life. Like they get very frustrated and they start revolting against him. And you'll see them also spawn their own me seags as well. And so it's like kind of this idea sub agents. Anyways, the show's starting to get into a really weird direction. I think we should probably eventually transition to all the cool data engineering releases.
speaker-1: Yeah. well, I'm like, you know, in terms of like weird direction, like it you know, while we're on the Rick and Morty topic, there's also like there's the quantum battery episode. And it's like, you know, we need to create energy to, you know, provide, you know, for the world. What if we created like a quantum, like, you know, sub-reality in which, you know, they treated us like gods, but they produced energy for us. And then what if that entire civilization did the same exact thing because they didn't want to do the work as well? and it's sort of like the inception style episode. I think it was from like season three or four. but it reminds me a lot of that, right? Where it's like, we don't we spend a lot of like time and effort to create systems that could think so that we wouldn't have to think as much. And it's interesting what's happening behind the scenes right now. You know, it would be interesting if, you know, years from now, it's like we find out that like, you know, we did it. It's like we created like this quantum universe and like, you know, we d it's like we just didn't never knew about it, right? And like all this stuff, I don't know. I like to think a lot about sci-fi. I we talked a lot about sci-fi last week as well, and it's like I feel like it's like a lot of the stuff we're doing right now is it's on the verge of our it's like I think we're at the end of our under like the end of our understanding. Like, you know, have we, you know, have we done something that, you know, now no one understands, right? And like with new foundational models, like frontier models, like essentially updating themselves, you know, with new releases. I think we're sort of like, you know, we're like, I hope it works better next time. I don't know if like we're in full control. But also that might just be my stupidity as
speaker-0: know the episode exactly that you're talking about. And I said I think it's such an interesting question because we have gotten so comfortable with this idea of outsourcing physical labor. Like I don't think it's controversial at all to do so. But as we're starting to find ways to even digitally outsource mental labor, you know, how are we going to evolve with that? One of the things that I do a lot actually and I actually just wrote this a couple of days ago. So I'm still playing around with it. But there's a really fantastic book out there called Good Strategy, Bad Strategy. And I took that book and I tried to create a set of agent skills for it that would cause it to go through different pieces of reasoning, point out bad strategy for things, try and identify pitfalls. Cause oftentimes like agents will think shallowly about certain ideas unless you like really force them to like do some introspective thinking. And so I took that skill and then I coupled it with Omnigent's Debbie agent, which is like a sub-orchestration agent within Omnigent that allows you to take two different models. in often cases, I do the frontier models, such as like, you know, Codex or and Claude or like Gemini, even sometimes I'll throw into the mix, and I'll have them debate over a certain topic. And so I'll have one write a strategy using the skill and propose certain ideas with different pieces of evidence. And then I'll have another agent directly counter with their own strategy and then watch them kind of go back and forth with each other, or you know, things like reviewing each other's PRs, like trying to figure out the best design for a particular implementation. And that is like exactly what you've described in terms of like me watching this little world and whatever they come out with, I will just take as a a benefactor of so. Very weird life that we're living right now.
speaker-1: The last weird tangent in sci-fi, it, under the sci-fi trip as well. my wife was reading a book by Hugh Howley, who is like more famously known for like the silo series like Beacon 23 like a lot of like these really, you know, kind of killer worlds. he has like a new like it's like apocalyptic trip dick, but it's now kind of anyways, doesn't matter where it is, what it is, anything else like that. But there's this whole entire story in there that I thought was like really cool. kind of reminded me more of like a kind of like a Ted Chang type like short story. and the short story was about us creating this world in which we created like a civilization, you know, sort of like a second life if we think back to like kind of like the early like second world type, you know, environments. But if you think about like the MPCs, if the MPCs lived a world like lived an entire life thinking that they were like, you know, truly alive and things like that as well, they would be creating literature, they'd be creating religion, things like that as well. And so the people in the book would essentially steal and copy, you know, what there's no copyright because they created this entire world. They would steal the, you know, the source of all these books from this universe and just publish them. And that ended up being like the way that we, you know, found fiction and other things like that was essentially like the tellings of stories from these NPCs. And I thought it was like incredibly intelligent, but also kind of on the nose for where we are right now with like, you know, AI authoring, you know, pretty much probably 80% of the things we see online every day. it's like, you know, is that, you know, where exactly is that coming from? Like, you know, those thoughts and ideas. We know it's based a lot off of our thoughts and ideas, but going back to the whole notion of quantum realities and things, maybe it's not. Maybe there's maybe there's more at work here that we'll find out in years when we are smart enough to understand what was what we created. But with that, should we
speaker-0: That is so messed up. The one of the first things I did with my personal agents was I gave them a copy of The Life Cycle of Software Objects by Ted Chang to read. and then I I sat there and I was like, So what do you think about this? it was kind of like a a messed up thing to do. Anyways, lots of exciting releases this week. Scott, do you wanna give us a really high level rundown of some of the things that we're gonna be talking about in this episode? Yeah.
speaker-1: So we're like week after week we we've talked a lot about like the parquet story and like what's happening like there as well. so we have like some more news we're gonna cover today about like vector type and how that's kind of propagating across like the stacks, but not so really the stacks as much as it's talk like propagating against like the dev lists themselves. Like so we'll talk a little bit more about like the vector file type as well today. and then we have updates like in like the you know, the open catalog ecosystem with like late keeper, Polaris and Unity catalog as well. there's some real releases and there's also essentially like you know, work towards the next like, you know, big release as well, like within those projects. then we're gonna move on to iceberg and the iceberg ecosystem. so we've talked a lot about like V4, which is like the next significant version of like the iceberg you know, format protocol, et cetera. so we're gonna talk a little bit about like votes and things that have changed even as of this morning. you know, for like you know, stats fields and for like encrypted rights and also for like expressions, which is like a a big deal, especially moving from like V3 to V4 as well. you'll have, you know, much more kind of support for, you know, true expressions as well. And we can kind of cover what that means. I think most people who are coming from like a data perspective, who've done like data engineering, et cetera, understand expressions for the, you know, the listener who's coming in, tuning in to try and learn new things. We'll talk a little bit more about that as well. We're also going to cover iceberg rust as well with the zero eleven release. then moving on, we talked a little bit more about like the hoodie ecosystem. And we've seen a lot more kind of like gravity, you know, pulling us towards like the hoodie rust libraries. so it seems like that's where kind of like the future of Hootie is. In my perspective, this is not me coming from like an authoritative perspective on the Hoodie ecosystem, but just kind of following the trends. It seems like they're kind of going all in unrust right now, which is pretty cool. and then with like the, you know. Python, bindings and things like that as well, which we've seen in a lot of libraries. moving on from there, we've we we've been talking about Paymon or Pymoon. I'm gonna every week I'm gonna say that two different ways and you know keep on correcting it until eventually I'll get that right. But Paymon has its own support for like wide file formats for like wide tables. a lot of people coming from traditional data engineering are probably used to a table that might cap out at like 500 columns. but for a lot of AI use cases, you've got tables that might have 10,000 columns or more. and so mosaic is another file format that allows you to work with very wide format tables. we've also got some updates in like the Lance ecosystem. And then you know, some of the stuff is kind of coming off of the Reverie conference from this week. so we'll talk a little bit about Lance V15 betas and also like where they currently are in like the stable eat stable release cycle as well. And then we're going to touch a little bit on our friend Apache Arrow. And we've got a 26.0.1 release that came out on November 3rd. and then that's gonna be a fairly kind of short overview of that. And then we're also talking about the comet ecosystem. And so we've got the 120 release for data fusion comet that comes with like iceberg v3 writes, delta scans, and like a spark 4.2 support. And the vote passed for that on November 3rd as well. and Yeah. So we're moving on from there. We've got a very large update that Lisa's going to walk us through for the Spark 430 release. so this is gonna be very like a very exciting way to end the week for a lot of people. you'll have the whole weekend to kind of go and experiment and play with like the four three release of Spark. So I hope you do. it's gonna be a great weekend for that. The sun's shining on my side. I don't know what it's like a up the coast with Lisa, but seems like a great weekend for playing with Spark. Moving on from there, we've got some updates in the Flink ecosystem as well. so there's Flink on Ray and then an agents preview in Flink as well. and my guess is that a lot of this was also kind of coming off of like the current conference as well. and we'll go a little bit more into that as well. And then we also have like a a fairly significant release from Airflow, 340 that came out on November 6th, which is today. So we're very much like Right there for some of these releases, as like we're talking about them as well. and then we'll do some other kind of like updates on the Omigen ecosystem and we'll cover some minor things on like ML flow for their 318 release as well. and that's kind of the rundown for you know for this week. There's a ton of other projects that weren't included as well for time. but we'll be moving things around and shifting things as like the weeks go on as well. other thing I wanted to say is that I don't know if we said it earlier. because I've got the mind of a goldfish. But it is currently week 45 of the year. and this is episode nine already, which is pretty tight. So moving on from there, Lisa, do you want to take a look at I'm like not even take a look, but do you want to introduce everybody to like finite vector and a little bit more of like what's happening in like the parking ecosystem?
speaker-0: Yeah, I can take a crack at it. So we've talked about vector type quite a bit, which is really nice for us. and so there is sort of a a new PR that's open right now in the parquet format repo called add the finite vector logical type with list storage. The finite vector logical type is stored as a three-level list structure. there's a contract on the top of the list, and it's not a new physical representation. Three main things to keep in mind here. So the first is that each non-null vector will contain exactly null elements. Elements elements are required, non-null and finite. elements are numeric or boolean par k primitives. and there's other things around like the element types in there, how the writers must enforce the element count, for instance. and other things that would be as part of those things in the element column compared to like an ordinary list, et cetera. Won't get too deep into the weeds of this, but that's kind of our our really high level there. And so this is still in progress, not fully implemented, but the PR is up and the discussions are there. So it should be pretty easy for folks to catch up on it. And so the vote opened on November 4th. It seems to be pretty highly supported. So I think it's pretty easy to say that it will very likely pass at some point. There is one binding negative one. So this usually means that, hey, there's just like something that you know needs to be hashed out in the actual design implementation, but generally the idea is sound versus just to make sure that you know the quality is up to standard. iceberg also has an open draft spec PR around this, and Spark has an SPIP ticket. So waiting to see where things fall here currently in terms of what it looks like. So other things to note here, so the finite vector type again is a logical type field 20, and every null non-nal. null vector has exactly num elements. So we already covered some of that as well. Let me see if there's anything I'm missing, Scott, if you wanna jump in as well. That would be good with anything.
speaker-1: I think the big thing is that like, you know, kind of week over week we've been talking a lot about how, you know, things essentially are, you know, first getting into like foundational layers, like parquet ecosystem, and then kind of moving from there across like the supporting, you know, you know, foundational frameworks. so you think about like, you Spark is a compute engine that needs to be able to support reading from like that, you know, that vector type as well. And then you have different like, you know, table formats as well that wanna also be able to support. that, raw parquet type as well. Because in a lot of cases it's like it's a it's much better to be able to support, the tran to support the interfaces that are available, for reading vector off of parquet versus having, every engine have a little bit of a different way of reading, in theory the same type. And in a lot of cases, interoperability ends up being a big thing, right? So if I'm writing to parquet and I want to support vector, And I'm using iceberg now, but say a new, a new table format comes out because we have agents building a bunch of things. And now we want to go and use that as well. interoperability matters with the way that we take those bytes and actually evaluate them. And so I feel like this is like a week over week we're just putting together this graph of interrelated dependencies. but you're seeing a lot more of that now, especially with like the very kind of like, you know, the rapid, you know, rapid follow-on of, you know, the Spark support or like at least like for the SPIP being opened up. And then for the iceberg, basically testing out what does this look like, right? and so it's like, you know, everything, everything kind of always goes through the cycle. It's like, you know, here's the idea, it's been voted on. here's like a reference implementation. What do we do with it? Do we move forward or not? And then the other like projects a lot of times are using, you know, say it's like, you know, it would be like the, you iceberg support would be used to be able to show what the reference implementation would be. And then that ends up being a way of, feeding this back into the parquet ecosystem. It's like, well, we know it's gonna work really well in iceberg. And here we think it works well like this, but to your point of having a non-binding vote as well, there's always like edge cases that bubble up as well. And it's like the other nice thing about having, you know, a dev list of like, you know, really senior like in engineers, thinking about what could be problematic, especially given that parquet is being used by probably one in two enterprises globally, right? for some reason or another, or probably a hundred percent of them at this point, it ends up being one of those things that w you know, has to get right. And so making like these tough decisions early on, you know, is all for the bet you know, it's just to better the ecosystem in general.
speaker-0: So yeah, and to to clarify for folks who are not very familiar with how Apache lists work, so a PMC member is somebody with what we call like sort of binding, say, onto a project. So it means that a binding vote can only be cast by a PMC member, which means that like I can't really go in there and just hit negative one and expect it to hold up anything, especially not without good reason. And so typically PMCs act in the betterment of the overall project. That's something that they're tasked with overseeing as well. I do think compared to our previous discussions around vector, like there is a ton of pressure, I think, in this sort of like really fast-moving multimodal AI space right now for embeddings in particular. And so I think that personally, the way that I I see this kind of transpiring or how this got here was that. while there was a lot of debate around NANs and infinities, how can we still introduce some of the support into parquet? and I think it's the better design decision overall to kind of split between finite vector and I don't know what they will call the the second type of vector that would follow up on this, that would be able to support those other types that are not included in this one. But instead, like finding this workaround, I think that's a very like open source way to do things, right? implement something like sort of a a small MVP first, see how it works, see what we can control, test the behavior, and then expand it outwards after.
speaker-1: Awesome. I love it. I think that I think it's like a really good overview of that as well. And so with that, I'm gonna switch gears. we're gonna talk a little bit about Lakekeeper's 015 release. so Lakekeeper, for people who aren't familiar with it, is another iceberg Rust catalog that also supports like the ability to bring in like generic tables. And so the generic tables also allow you to support, you know, different formats as well. So if you wanna bring in Lance or if you wanna bring in like Delta Lake or Hootie, anything else like that. there is support for that within that catalog, which is like a really cool highlight. so with that, what came this week? So LakeKeeper 015 are released. It's also like on Quay.io if you want to be able to pull like the images from there as well. so there's OpenFGA, which is another one, like it's like for fine-grained access controls as well. So there's write privileges that came out that allow now for changes to tables. For people who just want to be able to, upsert or write, that also removes the ability for people to drop them. And so if you think about like, you know, you know, kind of like a DML or anything else, like within like the, you know, the data ecosystem, like it's good to be able to, you know, modify a table. it's good to be able to read a table. But in a lot of cases, like you want to specifically have like, I think it's like the DCL, it's like the control protocol. you want to have that be something that is, you know, kind of more protected. So if people can drop a table, it's not necessarily good if people rely on that table. And so that's something that's more protected and should be protected. And so having the ability to now have a new privilege that doesn't allow you to automatically get drop is great. there's also cache invalidation that came out as well. if you're sharing like databases within like the actual runtime ecosystem. also auto-scaling like task workers as well. So if you're running this like instead of Kubernetes and you need to be able to, you know, automatically, you know. you know load balance automatically like you know maintain you know the proper sizing you know for your distribution. That's great. and then there's a couple other like security hardening fixes that went out as well including like S3 signer allow lists vended credentials scope to it the caller may read or write I don't and you can read more about that but that is pull request number 2249. there's a also a new security markdown file as well that talks more about like the security and how things should work as well. And so as we're seeing a lot more agent, you know, agents being able to read and operate other systems created by agents, we're seeing a lot more of like these like, you know, specialized markdown files being added into different projects as well. and so the security markdown file came with 20 21, 23. and yeah, take a look at that. if you're you know running in the Lake Keeper ecosystem or if you want to just take a look at what a native Rust catalog looks like. that'd be fun for that. so within the actual catalog ecosystem we've got other changes that are a sort of kind like in progress or like kind of like a checkpoint you know checkpoint phases so we talked about Unity catalog before we talked about like the v0.7.0 release everything in that ecosystem right now is moving on towards like the v0.8 release as well and so changes are being added into that ecosystem right now Everything's available on main for people who want to be able to go take a look or try things out before the 0.8 release for that. but there's a lot more kind of like strict privileges. so strict privileges came in PR zero fourteen through zero eighteen as well. And so it rejects grants on invalid object types, it checks read access before returning like iceberg credentials, for example. stops the modify like counting for table metadata checks. requires schema creation rights also to rename volumes and models. And so for a lot of the stuff we're just hardening things that might have like slipped outside of like the scope of specific permissions, which you know sometimes things do as well. So that stuff is getting a lot better. There's also new privileges like read metadata, create model version, and write volume, which are also required for the strict privilege checks that got in as well. and now if you're running off of main, you'll see 0.8.0-snapshot. and on top of that as well, there is already support for Spark 430. And that's gonna only be where Spark 430 can actually be supported. and so like we know before that we kind of have like these like trailing releases. and so like with the iceberg ecosystem, once that gets up to Spark 4.2, or if it skips directly ahead to 4.3.0 on like the 1.13 release for Java, for example. then we'll be seeing that coming also for support within Unity catalog as well. and then moving on to our other the other catalog we'd like to talk about as well, Apache Polaris. its current latest is still the 180. they're working towards 190 as well. And there's a couple of different like changes that were merged in as well. There's 5263, which fixes potential table corruption issues when commits, when a commit's outcome is unknown. and so not having corrupt tables is always a good thing as well. in a lot of cases, if you can't guarantee that something has been committed, then you need to essentially roll back a transaction. And so that's a very good thing to have as well in there as well. So it seems like right now some of the changes that are happening for like the one nine dot zero release cycle is kind of more hardening for the ecosystem itself. and that's pretty much it. we're gonna cover a lot more of the catalog ecosystem in later episodes as well. but moving on, we're gonna go now into you know, the iceberg, Apache iceberg ecosystem. And Lisa, do you wanna do wanna take it from here?
speaker-0: sure, I can cover some of it. So again, iceberg V four moving at the speed of light here. I think there's a lot of changes that are going into the spec, a lot of really awesome new additions. primarily you know, two boats passed for V four spec this week. I think, maybe even apparently according to our notes, like today, like this morning, which is kind of funny. Yes. The one of note for us right now is default value expressions. And then of course earlier over Halloween stats only fields as well that passed. And then of course the release candidate for iceberg rust passed as well. So that's going to be released. So default value expressions including in this case a behavior like rate default. can be expressions, such as current timestamp, etc., that are evaluated at write time and can use constants and function calls, but not other fields and must produce the fields type. things also included in this are null results for required field will end up failing the write, and initial dash default will stay as a literal. And existing literals will also with existing literal defaults will also stay valid as well, which is really nice. So the high level of this is that if you have a column default, for instance, be an expression, you can have that evaluated when the row is written instead of as a fixed literal. And so this is something that's pretty common as a concept in the database universe, and now, you know, something that's being included in the table format world. which is really nice as well. So with regards to stats-only fields, so this case having a new stats fields list will provide derived non-materialized values, and so a field ID and their stats can live in something called content stats. So for example, partition value can hold stats on partitions, transforms outputs, such as bucket values and expression value. or expression value can hold stats on expression. for example, if you have say two lowercase four case insensitive pruning, so that basically the TLDR there is that it will allow especially for things like query performance, things like that, a table to keep statistics on values that aren't stored necessarily as columns. which makes it much easier for an engine to prune files for case insensitives and filters without necessarily adding a column, which is really nice as well. And then also iceberg rust is moving along and shipping. some things to note about iceberg rust that I think are interesting for us in particular are encrypted writes, deletion vectors, and a new auth design for Rust catalogs. So there are some breaking changes to this, but Iceberg Rust is also a very early project. So if you're deploying that in production, that's on you. not not meaning to gaslight you, but also meaning to gaslight you a little bit. I would not recommend deploying anything to production that hasn't even hit one point release yet. ton of stuff in there, actually. Really exciting quality of life things. I'm sure Scott, you have some things to to weigh in on as well.
speaker-1: I think one of the big things too, so we we covered this maybe three weeks ago or so, or we were recording three weeks ago and it was, within the past nine episodes, we're talking about how iceberg rust and iceberg data fusion, which is based off of the iceberg rust project, have not split ways in a bad way, right? It's not like they're getting divorced or anything else like that. It's just data fusion should be supported by the data fusion community, while iceberg rust like the iceberg protocol should be supported by like the iceberg ecosystem. And then where they come together. Should be supported by people who are in the know about iceberg rust and data fusion. and so that's all happening, right? It's like, you know, and like it feels like it takes a long time to say exactly that, but this is essentially what's happening. And so the last release of iceberg data fusion, that's not that is still living within like kind of the iceberg umbrella is gonna be the zero eleven dot like X series of releases. So if there's any like incremental releases, anything else like that within like the zero dot eleven umbrella, Just know that it's not going away. It's not being deprecated or anything else like that. It just moving over to the Data Fusion project for 0.12 and up also getting into like the 1.0 releases as well, like that. so that's just something to know about. if you think things have disappeared, they haven't. It should be pretty much in like it should be like a non-blocker for anybody as things move. Just gonna be a different reference, like in your cargo you know, manifest as well for your cargo tomal. And yeah, so that's that for that. so along the, you know, I'm like as we talk about like the Rust ecosystem as well, I can switch over to Hootie ERS as well. So another kind of like, you know, you know, like a pre-1.0 release, which is all completely fine as well. so 0.6.0 shipped on November third. vote passed because it had to to be released as well. but right now you can find it in like crates.io or like PyPy as well for the Python bindings for that. and so this is essentially you kind of you know an update in the Hoodie ecosystem for you know the Rust ecosystem. So for people who don't like the JVM or want to move away from that, but still like Hoodie as like a table format, you now have like the Hoodie RS libraries as well. and so highlights for this release come essentially you've got now got like merge on read and metadata but metadata table compaction that came in with pull request number nine hundred and thirty one. it's still marked experimental. so you know, take a take it all with a grain of salt, test it, make sure things are working as expected for you. like Lisa said, a lot of times people won't use something until it hits like the 1.0 release. but in a lot of cases, like these projects are all stable for the most part, unless they're marked as experimental. And experimental is always kind of like a bleeding edge. People are used to like nightly builds and things like that where things might break. with experimental, it just means that like the API contracts for what you're doing might change over time. and so the invariance might change, which is something that you know, is why we mark things as experimental. and then for for the Hootie RS, you now have like in and not in file pruning. you've got record index file group selection for key filters, metadata table partitions are now readable as arrow buffers, which is good for you know the arrow ecosystem, which we do usually talk about as well. And I believe we're gonna talk about a little bit about today as well. and then Moving on from there, for table versions, you can read table version six, eight, nine, and you can write to eight and nine, which defaults to nine as well. and then inside the stack, you've got arrow 59 due to fusion 55. and you know, that's probably not gonna really matter to a lot of people, so we can kind of skip like you know, dependencies and things like that as well. and so with that, there's a couple different kind of like renames. so if you're used to like the Hootie JVM FFI. and you're working inside of like the Hootie Java ecosystem, and or you're looking at like the kind of you know, the boundary, the I don't know. So FFI is called foreign function interface for people from the Java world that used to like JNI. with more kind of recent versions Java, you have something called FFM. and so some of these, like some of the names are changing. And so if you've got library conflicts or anything else like that, your agents can fix it. just take a look at the release notes for that as well. And so with that, Lisa, do I'm gonna cover I can cover the mosaic update for Apache Pi Moon if you'd like. For
speaker-0: Yeah.
speaker-1: sure. Yeah. Yeah. So we we kind of alluded to this like in like the beginning when we're kind of going over what we're gonna talk about today as well. but mosaic zero dot three ships. and for people who aren't familiar with like the you know Apache Pi Moon and like the mosaic file type, it's for extremely wide tables that can support like 10,000 plus columns. and so that that released in the 0.3.0 release. and it vo that also passed this week on November third with you know with plus one bindings as well. This is an another Apache project. So things don't just randomly ship, things have to be, you know, essentially voted on before they go out into the ecosystem it's as well. there's also a new command line interface as well for mosaic. there's JSON export. through like the Java interfaces for for Apache PiMon. there's also writer schema validations and J and I error propagation and other performance work that's happening behind the scenes. and then there's just upgrades again to like the dependencies like within that ecosystem as well. and yeah, so for that we'll just kind of keep everybody apprised of what's happening like within that ecosystem as like we move on week after week. but for now, we can kind of move on. Lisa, do you wanna cover the kind of big release of the week? Do you want to cover Apache Spark four three?
speaker-0: Yeah, so as many folks know, Apache Spark 4.3 was released, I think yesterday, the night before, and we're seeing all these announcements in. So with a project as big as Spark, even something that is like a difference between 4.2 and 4.3 is actually quite large. just because there's just such a large community and so many contributors working on so many different parts of the engine at a given time. So congratulations. to the project. I think there were like over 200 contributors that were involved in this one, like thousands of commits actually, that went in. and you know, this release candidate, I think people have been watching for a long time. It had been, you know, started and stopped, primarily to make sure that there was some security hardening as well. I think that AI is really good at allowing developers to catch these things before they go live. So Some really notable things. I think the number one that a lot of folks were really interested in, and myself included, Scott included as well, is stateful real-time mode. So, as many people know, in 4.2, Spark introduced a new execution mode called real-time mode that was meant to make you know Spark like a true streaming engine as opposed to just kind of leveraging only micro batch. and micro batch still exists, but with real-time mode, you have much better support for operational workloads, real-time imprints, super low latency workloads as well. things that like typically you would also look at Flink too. And you know, Flink is kind of like a really strong engine here. So now to see other alternatives here that have that sort of scale and support that Spark does is I think really exciting in the streaming ecosystem in general. So initially when this was released, this included only stateless queries. now full stateful. So transform with state has now been merged in, which means that I think we'll see a lot of folks who are split between Spark and Flink, start playing around and seeing if they can only use Spark with it, which I think would be really interesting to see, because then you can leverage the entire Spark ecosystem, right? Instead of having to I think there's like a very much a zero copy story there as well for folks. Scott, I know you're a big streaming guy, I wanna give you some room here to say your excitement.
speaker-1: Yeah, this was this is something it it's interesting. because I think I think people are familiar with the continuous mode like execution from the Spark two dot, I it's two dot four, maybe earlier than that. I'm like, I don't want to I'm like, it's fine. Sometime within the two dot X release cycle. And that lived as experimental forever. and it's interesting right now that like real-time mode has dropped to the experimental label much quicker, given that it came out in four dot two and we now have this available in four dot three without experimental. showing the amount of effort that's gone into stabilizing and making this something that people can really go to production with. but the other interesting thing too is that like, you know, one of the hardest problems, like, you know, if you think about Spark and you think about like micro batching like as like, you know, the way of working and streaming, it was a lot like I'm not saying that's like easier to support that because like all this stuff is like incredibly complex, but When you don't necessarily have a micro batch and you have essentially individual, individual events, or people used to call it you a stream of tuples. if I deal with, individual, say, clickstream events or something else like that, and I need to now go and modify distributed state, there's a lot of operations that occur that then also need to fit inside of a finite window as well, so that you can like roll back or get back to like a prior state. Because I think the big thing is it's like it's not just that. this can move blindingly fast, but it moves blindingly fast with structure. And you think about the structured streaming, manifestos and things like that. It's like things should just really work. You shouldn't have to think too much about it. if you decide that you need to go and roll the Spark application, move to a different cluster, do other work, you should be able to pick this all back up as if you as if nothing really happened, right? it should just work. And that's so much harder when you think about things that are happening essentially in real time. so some of the numbers, right? It's like, you're seeing essentially average workloads under 150 milliseconds. And so if you think about the amount of effort it takes to, even just my update, a couple different items instead of a gigantic hash map, which is like the, the backing state stores that you see for a lot of this, work behind the scenes. it's an incredible scale and performance, to be able to hit that. But then also have that just work. And so I think we should just do another we'll do a different episode as well on just a deep dive into real time mode. Doesn't have to be necessarily part of the the this weekend open lake house, but some of the stuff is just kind of like mind boggling. the way that it works and like the speed in which it works as well. And so I I'm I for one am very excited to go and, you know, test out four three this weekend as well. that and playing Zelda, but we don't have to go into that 'cause that will take the whole episode as well. So all right. do you want to talk more about Project Feather? 'Cause this is, I think A big thing that not a lot of people know about.
speaker-0: Yeah, and just to give people we spent probably five minutes talking about streaming. there's 10 to 15 like major feature improvements here that we have to go over. So this might be like a three-hour episode at this point. if you're interested, I I know some people like kind of split up their their listening time here. So Project Father, another really huge and long overdue improvement to the Spark engine. So as many people kind of know, historically Spark has not been the most performant on single nodes. Or small data sets. I think this is something that has plagued a lot of folks for a long time, especially when they're thinking about prototyping or trying out new smaller workloads or having to feel like Spark is a little bit too heavy. Spark itself has tried to make a lot of improvements around this, like with the Connect architecture. But I would say like the biggest simple, like most uncontroversial one here is something called Project Feather, which is opt-in but will be chosen, I think, by the engine. if it detects that your data set is, I think, under a hundred mags or only has a single node execution. And so it will have several improvements that allow you to have very performant small data set performance. So in this case, removing s shuffle completely from anything because it's just nothing to shuffle to, so why are you bothering to shuffle anyways? also again leveraging an aero native dataset cache as well and other like sort of single partition improvements. And so a lot of this is stuff that you will kind of get realized and benefit from immediately as you use Project Father. Project Father is not something that you have to like consciously enable for yourself unless you really want to. It should n naturally just work. And this allows folks, I think the idea here is that, if you're having agents in particular, for instance, work on smaller data sets or if you want to work on a smaller data set as a company, and then eventually grow into Spark over time or be able to have you know, that story figured out for you without having to need like a very dedicated engine. I released a blog post earlier this week about how folks can use the Spark Connect Rust client, for instance. to have spark results read by duckdb and polars, which I think is a really cool design choice. But also as well, you can use Project Feather to not necessarily even have to do that if you wanted to. So there's a lot of flexibility there for Spark users in terms of like, you know, having really performant single node engines. And I think that's just like a really awesome thing to see. other things that I want to go over for the Spark 4.3 release. So if you use something called Spark Declarative Pipelines, which was a new authoring framework that was introduced in, I think it was 4.1. now SD SCD type 2 is now supported. So slow changing dimensions type 2, which allows you to keep the history of your change data fees and change data captures. So Spark Declarative Pipelines has a API called auto CDC, which is Much easier to use if you're writing CDC pipelines than doing hand merges. So SCD type one was in there before, which allowed you to have the most recent version of the data that you were working with. And now SCD type two, which gives you the full history and retain it, is now also supported. and honestly, like would highly recommend looking at the EPI. It's dead easy to use. Like it's actually so simple, especially with the way that Spark Declarative Pipelines is structured. it's just much safer, in my opinion, to use something like that. So if you are struggling with CAC, if you do a lot of CDC, this is something that I think is really worth looking at. Like I cannot stress enough how much easier it is to use auto CDC than like a hand-mer merged pipeline. Like, I really cannot emphasize that enough. other things that I want to add are Spark SQL improvements. So as of join, is now in preview. so it is something that you have to manually enable because it's off by default. But as of join is now currently available for folks to use. also JSON table is now introduced in Spark SQL. same with a larger array of like ANSI operations that are available. So unnast counterdiff. I don't know what this is, but like Jaro Winkler similarity, which is kind of funny. And you can also do at for a time travel on table names, which is really nice. There's also larger support for variant now. So variant now has you know variant set, variant insert, and variant delete. also included is like variant extraction push down being extended to aggregates and different sorts and joins. And nanosecond timestamps is now also in preview. So this is an early feature, but you may have listen to us in a previous episode talk about nano time second timestamps and following the proposal and now it's currently in the project. So really cool to see that. also included in this release. I'm running through these by the way because I want to save people some time. But please do check out the release notes if you want the the full list of things because there are things in here that I'm not even able to cover because there's just so much in this release.
speaker-1: I was gonna say right before before we s before we switch out of like the out of SQL, I think it's interesting to also talk about like variant right now. So this is like one of the first times where you can really easily like also modify what's in your variant. I think that's a kind of a big call out for this release as well. So for people who've been struggling with variant, like maybe maybe variant and bad data, creating like many different columns and things like that as well. or if you're working with like, you know, kind of mutating data sets that eventually stabilize. you can now create a stable variant without having to rewrite your whole entire pipeline. as of you know, and like as of this release for four dot three. So back to you, Lisa.
speaker-0: Back to my running through this release. Thank you for slowing me down a little bit, Scott. I appreciate that. So data source version two is now fully implemented for connector authors, which is really nice. So you can now use DSV2 to generate columns on V2 writes and a runtime filter interface, which is really nice. version as of and timestamp as of are rejected on catalog back to v2 rights and update column comment and new comment can now be null. So quick rundown on DSV2. There is a really in-depth interview I did with Tsi Hanho, who is one of the main author behind DSV2 on like the Spark OSS, Apache Spark OSS YouTube channel if you want more information. But it allows a common data interface for all of these different data sources that we have, which makes it way easier to work with things like Parquet, Iceberg, Delta Lake, et cetera, and have Spark have very consistent behavior along that. So there is a migration note here that if you're using DSV1, there is a bit of migration to move that data source to DSV2. It should be relatively easy for you to actually do that, especially with AI. But just a quick note there. I think Sihan and I have some documentation coming in in one of the future backports if it's not already in there, because we just recently updated that documentation as well. Quick note on DSV2, because I don't want to get too deep into the Spark proposals for this episode. But DSV2 pushed down specifically for joins, setups, and Windows currently has a proposal out as well. So If you're interested in the space, would definitely check out and weigh in on that thread while it's still kind of fresh. And other things to note, so I'm gonna kind of run through some of these other major notes to have here is that you know, Python and Spark Connect is currently hardening as well. So right now that's bumped to Python 3.11 only. and there's also a very experimental written by our friend Holden actually, UDF2 Expression transpiler and dataframe.zip as well. connect rest points for sessions and operations are now being included in this release, and an array map struct results are available in the JDBC driver. We'll not go into that in too too much detail. the rest of this I think I will leave because they're more quality of life updates. but I think that there is a lot of really interesting things in there. So again, there's over 200 contributors that contributed to this release and over 1100 Jira tickets, which are typically like similar to GitHub issues in this project that were completed, which is really awesome to note. So would Go deep into it if you are very interested. I will do a very quick rundown of current Spark SPIPs for folks because I think this is already a very Spark heavy session. I mentioned the DSV2 pushdown before. Some other things that note is moving forward into Spark, we're going to be dropping older versions of Java support. Do keep in mind that I think Java 17 is now no longer going to be supported. And you know, for future versions, especially as we move to Spark 5, Java 21 and 25 are going to be the minimum Java versions that we're going to be looking at, which is a big migration point for a lot of folks. External lookup join, which is an SPIT that we talked about in a previous week, has passed. So congratulations to that proposal. Yes, if you want more details, would recommend going into that previous episode. We do go into it in quite detail. and new S Pip is currently open to add ADBC, which is the Aero database connectivity counters JDBC for Java, now using Arrow. currently to be supported as a data source in Spark natively, which would be awesome. I think that has a very strong I think w outlook to be passed as well. Whew. Any questions or comments or concerns? Scott Haynes.
speaker-1: there's just one one thing. so under the under the Python support, 310 is dropped and you can use Python 3.11 plus as well. so for people who are using like newer versions of Python as well, like that is also supported. that was just yeah, I wanted to call that out. because we're like we're like Python 3.11 support. People are gonna be like, that's old. but it's not. It's like that's just like the the base that's so in the same way that Java seventeen is being dropped in future versions, Python three eleven now is the oldest version of Python you can use. if you want to continue using Spark with Python, if you're a PySpark user, then, you know, that's just something to know as well.
speaker-0: Thank you for catching that. Really appreciate it actually, cause a it's a big deal. Do you wanna go into Flink?
speaker-1: So yeah, so we've been talking about the Flink ecosystem as well. and so there's so we've talked about SPIPs, we've talked about all the different, you know, Ips that are available across like the different like Apache ecosystem you know, JIRAs and things like that as well. so under Flink, there's Flip608, which basically puts Flink on like the Ray execution engine. So Ray is like a distributed Python engine as well. And so kind of in the same like theme of people migrating away from the JVM if they if they can to say execution engines that they you know typically run on elsewhere, like having the ability to basically have like the separation between like, you know, you know, query optimization and then also like the underlying, you know, planner being able to be, you know, distributed across Ray versus like, you know, the back end like, you know, Flink engine as well. it's just an interesting, thing. we're seeing a lot more of that where it's like, the separation between, what's a control protocol and then, what do we do after we create a distributed query plan? And then how do we go and, actually execute and, get back either an arrow buffer or something else like that? behind the scenes things are becoming a lot more complicated. But I think in the in, in the age of agents, that's also becoming a lot less complicated. because we can't think in graphs, but agents can. And so that becomes a, They're probably you stupid humans, right? I can't believe you can't figure this stuff out. It's so easy, right? This requires less than 10,000 nodes, right? It's like, that's crazy. Good for you. but yeah, so with this, so that was accepted on November 5th. eight plus one bindings, no minus one bindings, anything else like that. So no everybody was you know, all on board for allowing Flink to run right, right? Sounds weird to say like allowing. It it you know, it's like cool. This is just a natural part of a lot of projects as well. as you want to support, where people are. so moving on from that as well. there's also an update for Flink Agents. I don't even know about these. So this is also something that we didn't cover last week. and so this came out really like in like week 44 of the year. We're in week 45. We didn't cover this, I'll just cover it anyways. but Flink Agents is essentially just like a preview right now. It's expected to come out in the 1.0 release as well. I might be butchering that as well. so I need to go back through that. But anyway, so Flink agents, you've got subagents with durable execution. model routing is currently like on Java only and actions are triggered on event field conditions. And you also have trace logs with metrics as well. So as we're seeing kind of like the evolution of Flink and also a lot of like these different like you know runtime execution engines, you're moving from essentially just having a stream of data coming in that's gonna land somewhere to a stream of potentially, prompts coming in to be evaluated and then returned back to a distributed system as well. And so, behind the scenes, a lot of things are starting to act similarly, where you have the ability to, call out to an LLM, within a specific node of execution. and then we're also seeing this like so you know, we could say like the corollary to this is what we're doing in the Spark ecosystem for real-time mode as well. There's other things you can do now, given that you have, you know, an individual event that could be an event that's like a prompt from, say, Lisa, a prompt from myself, that can go get evaluated and then durably written. So we can get back to that from a session. So that could go into a Postgres database. It could go in anywhere else as well, as long as you can write it and get back to it as well. So it gives you kind of like this, you know, this non-transient way of keeping track of all this information in a, you know, in a new distributed way. And so if we think about Flink's ability to run on Ray. And you think about the Ray and Python ecosystem being used a lot for data science and machine learning as well. It makes sense that Flink agents is another thing that you can, put into your, into your execution DAG as well. on from there as well. we've talked we've touched on like geography types as well in the past. We've talked about like, you know, what that looks like instead of like the parquet ecosystem as well. so there's been a discussion on Flink. 39,896, which is seems like a gigantic JIRA number, but that's where we are. and so it's basically scoping, so scoping to like the geography type, serializate serialization state, and then support for iceberg and parquet compatibility. and so for people who are interested in like, you know, geofencing for figuring out, you know, like transportation data, say you're running like you know an Uber Eats type company, something else like that. this is like interesting for you as well. or even just understanding like where in the world things are occurring. you know, endor, you know, your agents might find this like super interesting to be able to, you know, solve different problems, you know, that come up in like, you know, a security related type thing as well. so use geography for whatever you want. And then also let us know how you're using it in future episodes. It'd be kind of cool to find out, you know, you know, from the Flink community what they're doing with all this as well. moving on from there as well.
speaker-0: I can go into some things as well.
speaker-1: Please, please yeah, please do.
speaker-0: Wrapped up with Flink. awesome. I might just go through some quick things for Kafka and then get into the spark accelerators. just and then we'll wrap up with airflow because I feel like we're we have a lot of stuff to go into for this episode. And I would rather us go more deep than shallow because I think that's what folks love us for. Hopefully. If you do love us, if you don't love us sorry.
speaker-1: Still send love. Still send love.
speaker-0: Sudden though. we could we clearly needed a lot. So yeah, I think a couple weeks ago we touched on some updates in the Kafka ecosystem. And so just some updates there as we're talking about Flink and of course Spark streaming in real-time mode is 4.40 was announced on October sixth, with 25 kips. So we talked about flips, we talked about spips, and now we get to talk about kips and After this, we'll talk about it. So there's a a lot of stuff going on there. but in this release includes dead letter cues for share groups as well. 4.3.2, which is like sort of a maintenance release, is also being included as well. And so just a heads up for folks, some improvements around offbearer tokens or offbearer JWT signatures that don't get checked when JWKS Earls are set. I'm sure Scott you can talk a little bit more about that than I can. And then this week there is a proposal around cluster mirroring as well, which I think is really interesting.
speaker-1: Do you do want me to cover? do I mean to go a little bit more deep?
speaker-0: If wanna talk more about the Kafka ecosystem, I think that would be great. I'm not like a huge no
speaker-1: This is fine. Yeah. I think like the the big the the interesting thing for people to kind of know about this, like so when you have like a JOT token, there's been like issues that have, you know, arri like like arisen over, you know, over the years as well, with like with scoped credentials. and so right now like we've seen a lot of like kind of security hardening like over like the past like couple r I guess the c past couple episodes. and so for a lot of this stuff it's just we're seeing this just, across the different projects as well. and so like with Kafka and the way that like Kafka authorization is being done, like they have like, you know, ACL rules and things like that as well. and so if, you know, I have the ability to go and like create a new topic or to, you know, change partitions in a topic or something else that would be required for like, you know, performance improvement for, you know, say like a slow topic that's been expanding over like the years, say it's clickstream, say it's Black Friday, something else like that. I'll always go back to the clickstream examples for a lot of this stuff because There's so much data that's data like that comes from IoT and and there are other sensor networks as well that it is always something that it requires continual maintenance to be able to scale to support, those workloads. but say like say I want to give someone like read only credential, but there's the ability for them to be able to, you know, essentially kind of escape like the bounds of like a scope, and then do something like malicious. That's something that nobody ever really wants because we expect security and things to work for us. and so I think right now we're just seeing this is this is like we talked about anthropics, mythos and other things like that as well. there's a lot of problems that no one probably knew about because, while humans are very smart, we're also we've talked about being very lazy as well. And so like there's certain things that were problematic that just never really kind of surfaced until now. And so we're seeing a lot of these things that probably could have been exploited for a long time getting fixed just because it's so easy now for anyone else to do an exploit. Like, you know, when people used to talk about like, you buffer overflow exceptions, there would be like one or two like kind of like, you know, one or two people that I know that would be like, hey, you could reliably probably create this. I couldn't. but now with an agent, you'd be like, hey, like hack into my system. It's like done. Here's root level access. What do you want? Right. and so I think for that, we're gonna see security hardening just be a continuous theme as we move from week over week as well. So with that, that's not really Kafka specific, but it's more of the talk about the JOT credentials and things like that as well. it's supposed to be, a universal payload that allows you to understand, scopes without having to connect to a different auth database, other than to essentially make sure that everything has been signed successfully. Also in a lot of cases, with JOT, this is just a tangent now, but a lot of times for speed, sometimes people don't necessarily check take a look at those credentials or check the signature. And so in that case, if you say roll admin and I I've now changed that in what's called a man in the middle attack, then I have admin access. And so in a lot of cases, always check the signature because it's like the easiest thing. even if it, adds, you know, an an extra 200 milliseconds or something else to like a call, like it's a good thing to be able to check. so that people don't exploit your systems. but yeah, with that, Lisa, do you wanna switch over to Data Fusion Comment?
speaker-0: Yeah, so congratulations to Data Fusion Comment for their 1.2 release. Yay! so very big release, I think, for them, especially as they're running towards being a top-level project in the ASF. so quick TLDR on Comet, an accelerator for Apache Spark that translates Spark physical plans to data fusion physical plans. so this is of course an extension of the core data fusion project. for improved performance and efficiency without necessarily having to change your spark code, which I think a lot of accelerators aim to do. So, which is really nice. some of the highlights from this release are, of course, having results that now match Spark. so a lot of this was kind of release was kind of catching edge cases that kind of remained there, especially because comment always has wanted to make sure that. The results that are returned were the same results that you would get with Spark with very minimal behavior changes. So some improvement quality of life things here that are worth noting are time zone labels, you know, negative 0.0 and N-A-N co being included, collations, decimal averages, nested types, broadcasts, and join orders as well. also included in this release are memory spill and shuffle improvements, especially at scale. So memory is returned to Spark sooner and fewer memory-related task failures now occur. And there is a much smaller footprint now with JVM shuffle memory use, especially if you're using a ton of partitions and smaller shuffle files being included in this as well. is of course really nice. So to go into this a little bit more, with memory being returned sooner, so native plans now return their memory before the Spark task ends. and then Spark already, you know, currently drops a task memory entry with a failed native memory request or shuffle page allocation now being retried instead of failing, which is nice. Also, spilling will work in more places as well. So a final aggregate that's spilled can now be re. Can now read its spill files back even when they exceed memory share, which is really nice quality of life there. And a partial merge aggregate whose input is sorted on some of its grouped grouping keys spill instead of failing the task, etc. I won't get into all of these. datafusion.apache.org has a really great blog on the current release. So if you want to get into the nitty-gritties of all these improvements, because there's a lot in here actually, would recommend going straight to there. We're gonna provide a little bit more of the high level in terms of shuffle and broadcast improvements that are included in this release as well. So JVM shuffle with many partitions. In this particular case, the bypass merge writer gave every partition previously a page of Spark's page size, ranging from 32 to 64 megs as soon as it buffered a row. So now when a task memory could not hold one page per partition, every new page would end up forcing in a spill. Pages now currently start small and grow, which is much nicer. There's some benchmarks around this that people can look up as well, but included and tagging on to this improvement are smaller shuffle files. So in this case, shuffle files with string binary array and map columns are 9 to 40% smaller. Big range there, but I think it's highly variable depending on the column that you're working with. And offsets are now stored as lengths and compressed with Z standard. So very large improvement there. And of course, faster spills, of course, going into this. so currently in the blog posts, they tout 21 to 28% faster JVM shuffle spill rights on every partition, especially with native calls. so in this case with 1,000 partitions and then 45% to 49% faster benchmarks when the writer spills every 1000. 100,000 rows. so good to know there. And then of course, broadcast is included in this as well. So every task that read a comet broadcast decoded the whole broadcast from itself and tasks on executor now share a one decoded copy. And with regards to iceberg improvements for data fusion comet, so native iceberg rates are off by default in 1.2. But it is coming for us. And so this is the first release that has this sort of documented inside it. And it's currently opt-in. To be able to leverage it, you can use spark.comment.write.iceberg dot enabled and set it to true. So like any other configuration that we have here. And this is something that repair replaces certain settings that were introduced in 1.1. so make sure that if you're doing a migration there, that you kind of double checked that particular setting. So currently format version three tables are written natively. also included in this are per location credentials that are applied to native reads and writes. files currently match iceberg Java particularly. So that if you're kind of wondering what version that they're looking more closely at, it's going to be iceberg Java. There are some notes there to take a look at specifically in terms of how the types are working, but won't get into that too deeply. And of course, when it comes to memory, write buffers are currently again charged to the task memory pool. and when the pool refuses a new buffer, the writer closes fan out partitions early instead of failing. And currently, in terms of speed benchmarks, which are important for an accelerator like this, the writer's dictionary pre-pass is currently 1.8 to 3.9 times faster than baseline. so of course any unsupported writes that are included in this release are detected upfront through iceberg Java, such as rights with unsupported S3 settings or through a void partition field whose source column was dropped. I'm going to go into some more things, just again running through this because this is a big release for data fusion comment. and this goes into a lot of it. So read and row level operations are also improved so native scan reads only the nested fields spark keeps and opens two data files at once by default. native scans also fall back to spark when iceberg reports an output ordering and then merge into can also run natively in merge rows execution on versions above spark 3.5 and is currently off by default. So more of the plans also run natively as well so things that there's currently like a different set of operations that are on by default as well and new operators and expressions that are included in this. And then of course if you are interested in sort of the in-memory cache using arrow that's currently an opt-in feature that you can have as well. So it's on so it was planned to be on by default in 1.2 and then hardened. But I think it might be opt-in. actually, it might be actually just fully on by default in this case. So would look more into that if you're interested. And last kind of round updates for Data Fusion Comet include, of course, Delta Lake. So staying in this open table format space. So Delta Lake scans on the JVM are currently Contributed as a module on the JBM and runs them in Comets Native Parquet scan. This includes support for deletion vectors, row group pruning, and page pruning. again, it's opt-in. So please make sure that you look up what the configuration is there, very similar to the iceberg path that we looked up, and Python UDFs. So currently in Spark 4.1 and onwards, Arrow UDFs were introduced, and in I think Spark 4.2, arrow UDFs were enabled by default. So now these arrow UDF functions can also run in native comet. So you can now pass arrow data to Python without necessarily having to go through pickle serialization, which is really nice to know as well. The released jars, if you want to take advantage of this. do not include this. So it requires a native library called Python UDF as a cargo feature. And then of course would recommend looking that up. There is a Pyarrow UDF guide in the comet documentation. So if you're interested in looking at this in particular for you know taking a look. So custom rough Rust UDFs are in experimental phase right now, which is really exciting. so comet can currently load scalar UDFs written in Rust from a shared library and then call them through the arrow FFI. There is a Rust UDF guide if you're interested in kind of following this progress and seeing what the current implementation looks like. And then for some other features to note, parquet writes to S3 are now supported through something called a S3A magic committer, which Spark41 configures by default. when spark Hadoop Cloud is on the class path. And so S3A will create each file and then write settings such as like in this case server-side encryption, ACLs and storage class, and then apply as they do for Spark. for other S3 writes, it will fall back to Spark. so again, there is a parquet guide if you're interested to learn more about this. And of course Spark 4.2 is Currently officially supported rather than be experimental in this latest version of data fusion. So ton of stuff in there. There is also some stuff that I did not cover, so would recommend it, but it is a very large release. Again, huge congratulations to the data fusion team, particularly. And we have read his praises many times on this podcast before, Andy Grove. Scott, I ran through a lot of things here and I didn't give you any chance to chime in 'cause I wanted to keep things moving quickly, but I wanna give you the room now to comment on anything that you might want to.
speaker-1: I think it's interesting because you think about the the the size of the the spark four dot three release as well. That's interesting because it's like if you take a look at the collective number of changes that came in with data fusion comet one two zero, we're seeing like I mean, I feel like changes like that. I don't I don't know the release cycle. I can go look that up as well. Like cause DataFusion Comet one dot let me just take a look in GitHub real quick. I believe that just came out as well, like a month ago, maybe or so. but I don't wanna I don't wanna sound like an idiot if I say that incorrectly.
speaker-0: Yeah, I think Spark is currently on a quarterly release, so we would expect the next version to be in January.
speaker-1: Yeah. Yeah. Comments monthly. So that's a crazy amount of work for a month. so but I I think like I think Andy Grove had posted this week that like it's like he was in the UK and he had jet lag, so he got like a hundred thousand things done. And so thank you again, Andy Grove, for you know, adding so much to these different communities as well. It's it's awesome to just kind of see that.
speaker-0: Awesome. Another accelerator that I wanted to cover for this week, I think this is our first mention of it on the podcast, although I've covered it in other places, is Nvidia's QDF plugin. So maybe CUDF if you want to say it that way. So a native plugin for Apache Spark that allows GPUs to accelerate data frame and XQL processing. Many folks might have previously known this as Spark Rapids. so this project has been gaining a lot of new traction lately and is kind of undergoing some new developments as well. So any previous Spark Rapids links that people might have known are now redirecting to QDF dash Spark. So artifact names are currently going to remain the same. So QDF released a version 26 this week. So current GPUs that were tested for this. Of course, were NVIDIA SB100, T4, A10, A100, L4, H100, B100, and the RTX Pro 4500 and RTX Pro 6000 GPUs. Imagine getting all those GPUs to be able to test on. That would be an awesome job to have as well. So of course, this works really closely with hardware. current currently any Linux distribution is supported as long as you meet the basic dependency of Glibc above version 2.28. So of course, as a Ubuntu user as well as a somebody who owns a Nvidia GPU, I'm actually kind of curious to see if I can run some of this locally as well. and you will need of course Nvidia's CUDA drivers. to be able to run this. So this also supports Databricks runtime versions of 14.3 and 17.3, dataproc versions like 2.1, 2.2, 2.3, and Spark runtimes 1.2, 2.2, and 3.0. and of course supported Spark versions up to 4.2, which makes sense because 4.3 literally just released like yesterday. so congratulations again to them. I'm gonna list some highlights of this particular release again for version 26.10.0. So added GPU acceleration for Spark variant, particularly on of course Spark. And this also includes nested object and array pounds, including Willian integer floating point and string targets. Expanded Delta Lake support, of course, with basic Delta 4.2 and 4.3 compatibility. Change data feed reads, of course, as well, which was, you know, CDF was included in I think Spark 4.2. so that's really good to see that also continuously supported outside of it. GPU accelerated. operations and DML writes to deletion vector enabled tables, which is really nice. And then for other added GPU support again in the iceberg side, this also includes iceberg v3 deletion vector reads and writes and row lineage metadata reads. And on the SQL side there is expanded GPU SQL support with something called n tile column patterns and like. dynamic expressions in in and case insensitive inline and scoped regex flags and count on ANSI interval columns. For group partitions, exec, there is also included sorted external merge execution and improved broadcast hash join performance by reusing build side hash tables, a little bit in the wheeze there, but significant for folks who are looking at those sort of partition work and joins, expanded acceleration. I think this is really exciting for most folks. cloud input output and observability with perf IO ORC reads, particularly on S3 and GCS, an automatic perfio enablement for GCS and decoded GPU batch style scan metrics and arrow Python output metrics as well. So nice Quality of life thing in there. And then the last thing that I want to highlight for QDF in this release are improved shuffle and execution reliability by upgrading UCX again to 1.22. In terms of the other UCX things in here as well, are retrying UCX sends after a GPU out of memory and hardening a skip merge cleanup. And fixing a nested subquery GPU broadcast deadlock. So there is release notes that are available for folks who are interested. There is also the Nvidia Kudief plugin for Apache Spark user guide that's available. would recommend taking a look at it if you're interested in using Spark on GPUs, especially accelerated Spark on GPUs as well. yeah. Big changes in the land of acceleration and spark and query engines and all these things. yeah.
speaker-1: I think I think one of the interesting things I can like to highlight as well, like if you think about like GPUs being really good for like matrix-like operations, which also means like join-based operations, one of the hardest parts with like deletion vectors and kind of any like merge on read is the sheer number of joins to be able to get to the current state of a table. and so like when you were calling out like the iceberg v3 deletion vector read, that support, that's a huge one as well. because being able to hyperparalyze that across your GPUs means that that those operations won't feel like they're getting in the way of a read after, after the deletion vectors have made it into the table. So those snapshot updates are shouldn't be slow with the GPU acceleration. And you see the same thing too, in the call-out like Delta, the reorg table with purging as well, like is essentially you have to pay the piper at some point with the deletion vectors, otherwise like they build up for a long time and the work gets harder and harder. And so being able to accelerate those maintenance tasks is such a huge thing. It's interesting to see these both land at the same time as well. because they're effectively doing similar things. And so it's just cool to see that also.
speaker-0: yeah. this week is everything released in the same three days, which is actually nuts. into orchestration land, do you want to take us through airflow updates?
speaker-1: I do. Yeah. So so for people who are familiar with the Airflow ecosystem, like Airflow three has been like one like their last major I guess their current major release. and cycles within there are now at three four zero, with like the newest release which came on it came I'm like it came on today. it's November sixth as well, today. And so that just released as well. so if you're using Airflow and you're not on three four zero and say you're on like the two dot x release cycle, I guess it's last stable within the the two dot upgrade because there's significant changes that will bring quality of life to you as well. this is interesting. The the vote bindings and everything else literally finished like it's almost like it took minutes before we actually started recording today as well. so we're like we're like the first on the scene with this, right? Like this is good for us as well. so what happened like with three four zero? so like we talked about like the other like you know the other IPs as well. So now we have like the AIP as well for the airflow improvement plans. so improvement plan one eleven came out with like task loops. so in a lot of times, like if you think about you know being able to intelligently loop through something, a lot of times we think about, you know, simple for loops and things like that as well. And so for your ability to run that across like, you know, durable execution airflow means a lot. depending on the type of work that you're running on. and so if you think about traditional loops and other things like that as well, the most common that people think about now are agentic loops, right? I'm feeding some information, I'm getting back a result. If it's not the result I want, we need to basically refine and continue to move in that cycle. and so those loops now also have like their own XCOMs. So if people are familiar with like the like airflow ecosystem, then you know XCOMs. If you don't know about XCOMs, it's a way of essentially being able to assign variables and metadata to a specific like task or stage of execution within a DAG within airflow. and so take a look at like AIP111. also just kind of sounds cool for some reason. 111 is like, I don't know, sounds nice off the tongue. all right so moving on from there we've got AIP85, which is like another DAG importer or not another DAG or importer, but it is a DAG importer. So you can write whole DAGs in TypeScript, Go Java, native YAML and so that could simplify the ability for agents to be able to go and create new DAGs on your behalf without you having to go and annotate Python or anything else like that as well. and so take a look at that. If you don't care as much about like the Python ecosystem or if you're doing a lot of like your work in like type type decryptor go, or for some reason if you just really love YAML, then you know, have at it. you have different ways of working now as well in in 3.4.0. Now assets as well. so I know Lisa, I think you'd cover this a little bit with Yarek as well when you were talking about like Airflow at Airflow Summit in like your interview with him as well. But we think about like assets in general, and we think about like asset and time-based schedules, like or asset filters or anything else like that. Like assets can be a lot of things. In a lot of cases, it can also just be like a file. So airflow, like one of the big things that changed in like the 3.x release cycle. was making things how do you support more multimodal types and things like that as well? So if I think about you know, like I don't know, it's like, you know, I'm like, it's not tax season or anything else like that. But if I think about like uploading a bunch of like PDFs and being able to scan through everything and like read it, and then eventually just understanding whether or not things were successful or if things broke or whatever else, like, I could now do that all instead of airflow, which is pretty cool. So if you're like a turbo tax or somebody else like that, you could also run this as like your operator to be able to go and handle, you know, what's coming, as we get into you tax season pretty soon in in the in the Americas. and or there's probably a lot of other cool things like that too for like, you know, handling like, you know, PDF uploads and things like that and being able to make, you know, things indexable, searchable, et cetera. you know, there's many different ways now of working with like, you know, multimodal data within within Airflow itself. you also have like metadata based databases as well. and so this was in airflow Holy crap. This is 68,496 was the PR for this one as well. so you have Psycop G3, which is like the default like Postgres driver. you set up this PG bouncer got set up as well, probably as like an off layer. I don't I'm not really familiar with PG bouncer, but it's probably for authorization as well. API servers on the workers also get like an async pool as well. so they can queue up many different connections and do really cool stuff you know, with the kind of the database that's running behind the DAG itself. so if you're, I guess, like on the platform side and you're scaling up like your airfleet, your airfleet, your airflow, 3.4 distributions, you've got improvements now for your metadata serving as well, which is very important, especially if you have a lot of like XCOM you know, triggers within like your pipelines. Like it's very good to have like a fast execution engine based on that metadata and when specific upstream DAGs have completed as well. all right, so runtime in the same kind of vein as we talked about like in the Spark, Python 310 dropped within like the Airflow ecosystem. So now it's supporting 311 to 314 as well. and the other big thing is that images for Docker are all now hardened images. So if you've been worried about like CVEs or anything else like that and you don't want to see anything that's like super scary in your distribution. you now have the hardened images instead of Docker. and you can go take a look at those as well. so that's a really great thing for the ecosystem. and then other than that, the Airflow Common AI provider hit its 1.1.0 release, and that was on November first. and also you've got Hugging Face dataset community provider as well. It's now available. actually it's not available yet. It was proposed on November third. the PR is number 76,317. and there's no votes on whether or not that will be coming into the next cycle of like the common AI providers. But most likely it will. I think a lot of people are using hugging face data sets as well. so you know, stay tuned for more information on that. let's see. And then other than that, yeah, the I'm like there's other behavior changes as well. So if you're relying on asset event batching, you must opt back in as well, which The config is batch underscore assets underscore events equals true. Or in the scheduler, you can also do batch asset events as well. and aside from that, we talked a little bit about like the metadata database updates as well. you can now create a max number of connections that you want as well for your API server pool. and you know, have your agents find the right number of connections for you and do that work as well based on like the, you know, the load that you have within like your airflow setup. other than that, it's kind of like other kind of like minor updates on like different configurations and things like that. and so, you know, we're not gonna go into those right now just because we've been going for a little bit of time on this episode, on this lovely Friday, November sixth. So yeah, Lisa, do you wanna take it from there? Cause I there's nothing nothing more to really cover under Airflow other than, you know, the call to action for people to upgrade on this beautiful Friday.
speaker-0: I think that's it. Like we've been going for a while. There's tons of stuff we could still go over, which is a crazy thing. Like there this week, everybody decided to put their agents to work. Like absolutely insane. So some other things to note, ML Flow 3.18 also released and Omagent point two one. We covered AI pretty heavily in the last episode in our sort of like AI special. With a super special fantastic guest, Melanie Warwick. so won't go into it too too much. And maybe in another future episode, we'll go in deeper. And Hootie RS also had a 0.6 release as well. I think, Scott, you went over some of this in like your quick one through in the beginning of the show. but yeah, like just absolutely nuts. like data engineers are eating good this week. Seriously. so make sure that you're on the latest and greatest, that you're you're migrating, that you're actively migrating so that when these features come out, you're in a really good position. There's a lot of folks I talk to in the Spark ecosystem that, you know, stuck on three point two, three point five, and they've already like built a custom bespoke solution around this, but it it's just not nearly as good as what's in the official distribution. And, you know, obviously because you have so many other engineers who are maintaining and validating it. So a really good episode, I think, for us to highlight the importance of what I would probably consider like, you know, update hygiene. it's very easy to get complacent in this space and things are moving so quickly now. especially as, you know, personally I see Spark Connect changing the way that people are interacting with Spark, like with the these rest endpoints and maybe we'll see other things around this that, also look more like client server architectures. You want to be able to take benefit of that as well. So good time to start thinking about it for sure. Because then by the time you're at it, like a lot of these features are will already be kind of old, maybe will already be on Spark 5 by then. and hopefully you will be in a better path to migrating up these versions and taking advantage of them.
speaker-1: Yeah. I I think it's for a lot of things too. I know in some cases, there's there's a reason to stay on a specific version. but I think nowadays too, like with like agents being able to do a lot of like the heavy lifting to go and upgrade, there are ways of being able to go and like do these migrations. you know, a lot of times it's like, you know, go with like the pipelines that are low risk first, migrate them, see how it goes, you know, learn the patterns, learn like what works, what doesn't work as well. As you're going more towards those mission critical pipelines and things like that as well. but yeah, like being like if you were to miss the four dot X release cycle for Spark, that would be like really like that would be unfortunate. but if you kind of just stay on like the three dot, you know, three dot X release cycle as well, you will get some stuff backported, but you're not gonna get like the latest and greatest. And it's the same thing with like every other kind of project as well, right? As things are kind of moving forward, as like we have like agents doing, you know, a lot more as like, you know. Thing I with just the not last nine weeks of doing this, it's like, it feels like the whole world has shifted and things have changed a lot. It sucks to be able to to miss out on all of, all that that greatness and goodies. and yeah. So it's a beautiful weekend to go and start to do some updates. so, you know. I'm like, go get it done. Go get it done.
speaker-0: Th this episode is running super long. but yeah, I couldn't imagine accidentally trying to have a stack that's tries to skip four. like that would be a nightmare I imagine. So
speaker-1: Probably little bit a little bit more to upgrade from there as well, right? It's like a lot of moving parts.
speaker-0: Yeah. Serious. especially as this ecosystem moves so quickly towards Rust native. like I I think there's gonna be a really huge difference between the way that we think about legacy data infrastructure. Anyways, it is Friday. Scott, what are you doing this weekend? That is fine and not engineered.
speaker-1: I'm I'm playing The Legend of Zelda Ocarina of Time. and we'll probably beat it this weekend. it's one of the games that I played, I don't know, maybe ten times through like as a kid. just fun to like explore in like that world. I started playing yesterday. things were sp anyways, I'm very excited to go and kind of play more and essentially kind of like relive one of the best games I ever played, like as a child. and I guess as a child, I I think it came out in nineteen ninety-eight ish. So what however old I was, I'm like child, I'm like, that's tenth grade of high school for me. Anyways, it meant a lot to me and now replaying it, it's just really just super joyful. And so I'm gonna be doing that and then also probably seeing the sun, maybe touching some grass as well, getting away from some of the electronics. what about you, Lisa?
speaker-0: I am currently working my way through Red Dead Redemption 2. I think I'm like 40% through the game right now. Nice. and I was thinking about booking like a ranch stay to ride horses. Like I get very obsessed with some of the games and the worlds that I'm in. So heads up when I start playing GTA 6. my gosh. I might not be doing like moral activities. is kind of funny to think about. I have a friend who's coming to to visit as well. So I don't know, maybe I'm gonna look for some trucky things to to do in town. But hopefully the weather's good, especially in the Bay Area. things are about to get a a little bit chillier, so wanna squeeze out as much suntime as I can. yeah.
speaker-1: I it sounds like a great weekend.
speaker-0: Yeah. All right.
speaker-1: Well all right. This is it.
speaker-0: That's call it for this week. I don't remember how we usually end these. do we just stop?
speaker-1: We we could. I could also just say thank you everybody for being here this week. and we'll see you next week.
speaker-0: Sounds like a better send off. All right. See ya everyone. Open source.