Welcome to the Data Engineering Central Podcast - - a no-holds-barred discussion on the Data Landscape. Welcome to Episode 01 In today’s episode we will talk about the following topics from the Data Engineering perspective … * Snowflake vs Databricks. * Is Apache Spark being replaced?? * Notebooks in Production. Bad. This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit dataengineeringcentral.substack.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00Thank you. Welcome to the Data Engineering Central podcast. I'm Daniel Beach, your host. On this podcast, we talk all things data engineering and data. This is episode one, and today we're going to cover a wide range of topics. We're kind of going to ramble through Snowflake versus Databricks. We're going to talk about Apache Data Fusion Comet and the tools trying to take over Spark. And we might talk a little bit about notebooks in production.
SPEAKER_00First, I want to talk a little bit about Snowflake versus Databricks, the ultimate battle. Now I've looked into this topic a lot and I've used both tools extensively and written about both tools extensively. And yet I don't think it's a big deal as most people think. I think that obviously Databricks has won the AI and ML race. That's pretty much no question across the board. I know Snowflake has some ML and AI offerings, but it's clear that Databricks is a leader there. And if you're looking for a machine learning and AI platform, Databricks is the go-to place. They have won that battle.
SPEAKER_00Even more interesting is some of the open storage format wars like Iceberg versus Delta Lake. And it's clear that Databricks kind of won there too. Databricks went ahead and bought Tabular, which is kind of a spit in the eye of Snowflake and their Iceberg plans. And it clearly means Databricks consolidating power in the open source storage format war. But beyond that, we can talk about who's winning when. It doesn't really matter that much. But, you know, when it comes down to it, Snowflake versus Databricks, it really comes down to the kind of data team you're running and the kind of data
SPEAKER_00engineer you are. Snowflake is clearly made for SQL-centric teams. These are teams that were previously using SQL Server, Postgres, MySQL, Oracle, whatever. These are very SQL-based teams. That's pretty much their bread and butter. They are going to feel more comfortable with something like Snowflake. people using Redshift, BigQuery, etc., they're looking to get into the game, they'll probably pick Snowflake as they well should because it is a SQL-first platform. When it comes to Databricks, this is more advanced, I would say, than Snowflake.
SPEAKER_00You're talking about you're going to need people that know how to program really well. They're going to need to know Spark really well. Sure, you can use Spark SQL, but it's not quite the same as Snowflake. Databricks is a place you go if you have a programming-centric data team who is trying to do cutting-edge stuff with big data and machine learning. You're probably going to lean towards the Databricks route because it's more specialized in that area. Whereas Snowflake, yeah, it's pretty much just a giant SQL warehouse. And that's okay because teams are usually one or the other. If you have a data team and all they are good at is writing SQL queries and that's
SPEAKER_00all they're used to, they're gonna feel more comfortable and be able to produce better results on Snowflake. If you have a team of programmers who are good with Spark and machine learning, et cetera, and doing more advanced use cases, then of course they're gonna have a better time on Databricks because they provide the tools to do that better. I don't think there's any reason why companies can't use both. They surely can use both if they feel like it, but most people, just for ease of use, they're just going to pick one or the other tool because they don't want to muddy the tech stack that they're using. You hear complaints about both tools being expensive,
SPEAKER_00although it kind of started in the beginning with Snowflake being real expensive, and now you're hearing people start to complain about Databricks as they've kind of got rid of their standard account, went to Unity Catalog, premium accounts, all in. Their compute's kind of expensive. SQL warehouses are expensive. They're just seeming to pull the rug a little bit on the pricing. Pricing's starting to increase. A lot of people are starting to complain about that, just like you heard a couple, three, four years ago how Snowflake was super expensive. In the end, it's not really about which one is less or more expensive.
SPEAKER_00I'm pretty sure you can either make good or bad decisions on a Snowflake or Databricks account and make either one of those very expensive. It's really about the engineers running the platform and building the platform and building the pipelines that are going to make a tool either inexpensive or expensive. I think clearly that Databricks is a better platform just because they innovate more, they have a lot more use cases, and I just think they're ahead of the game. It's pretty obvious if you go look at the features and who comes out with more stuff, who's pushing the edges more. Of course, it's Databricks. I don't think you can really argue that. But at the same time, a lot of people don't need that.
SPEAKER_00I think Snowflake's great just for straight old SQL monkeying. But you won't catch me using Snowflake anytime soon, that's for sure. On to the next topic. The next thing I want to talk about is kind of a wide topic, and I've written about it multiple times. You'll see other people talking about it, and that's basically, is Spark being replaced? And the answer to that is yes and no. So you've probably heard of a lot of the new popular tools like Polar is coming out, Rust-based. You've got DataFusion, another Rust-based tool, and even DataFusion Comet that's taking a direct aim at Spark.
SPEAKER_00You've seen tools like Daft, other DataFrame tools that are just, again, Spark based that are able to do larger than memory compute and are very fast. And it just kind of leads to me asking the question, is there a shift happening in the data engineering community? Are we seeing a shift away from Apache Spark that is slowly building and slowly coming our way? You know, Apache Spark has been around so long and Databricks really solidified it in the space as the big data tool. It's pretty much used across the board everywhere now. And I think it's going to be the next SQL Server.
SPEAKER_00It's going to be here for a long time. But at the same time, when you have a big tool like that, that everyone's using and they start complaining about being slow, et cetera, et cetera, because most people are not using Spark as they should. They're using it on small data sets and then wondering why it takes so long. But nonetheless, you've got a lot of these new tools coming out like Polars and Data Fusion, etc. Even DuckDB. A lot of these tools are really focused on being super fast, being able to work on larger than memory data sets, which is kind of Spark's MO. And yeah, of course, there's lots of data sets that cannot be replaced with something that's not Spark.
SPEAKER_00The reason people are using Spark is because it can crunch hundreds of terabytes of data. And that's really hard for some of these other tools to do. But based on some studies that have come out recently, especially by Amazon, you know, most people are actually doing very small workloads that don't really require these distributed compute like Spark. In 80% of the use cases, something like Polars or Data Fusion or even DuckDB compute out of memory would be totally fine. They could get away with it easily. In the past, it seemed like you only had two choices. You could either use Pandas, which would blow up very easily,
SPEAKER_00or you could go to Spark, which could be complicated to use before Databricks, especially, and hard to scale, especially with people that don't have the big data knowledge. But now with things like Polars, Data Fusion, DuckDB, it's kind of brought that very easy Pandas use and Python API to the data world. And it's able to actually run these large, large data sets that you had to use Spark before. Now, I really don't think these tools I've caught on that mainstream. Sure, they've got some popular, you know, get and talk, especially Polar's and DuckDB,
SPEAKER_00but there's really not that many people talking about, hey, I've replaced this Spark workload. Although there is people saying that I've done it myself in production and I do see other people talking about that, but I think it's just the slow rumblings. And I happen to think it's the rumblings are going to get louder over the years, especially as Spark becomes more expensive and people recognize that they're going to start looking for alternatives and they're going to start looking towards Polar's Data Fusion, and some of these other new tools that can do the processing on a single node, especially larger than memory, and can do it very fast, in some cases faster than Spark.
SPEAKER_00So I think Spark is here to stay, probably going to be here for the next decade at least. It's just too embedded everywhere. But again, I think anytime a tool gets popular like that, there's always people that come along and try to unseat it. And in this case, I think you're just seeing a definite shift in the matrix. I think that Even as you see Databricks rewriting certain parts of their platform and C++, things like Photon, etc. And you see the popularity and rise of Rust as a backend tool. I think you're going to see more and more things shift away from Spark and more and
SPEAKER_00more towards Rust-based processing with Python wrappers on top of it, like Pollers, etc. And more people making tools like Data Fusion Comet, which are actually supposed to be drop-in replacements with Rust distributed compute that can totally replace Spark. And as more people use them and work on those projects, they're going to become more popular. And I think you're going to see the industry shift that way. But again, if you're a new data engineer, you're looking to get into data engineering or you're sort of new or what's going to be popular in the next 10 years,
SPEAKER_00yeah, it's still going to be Spark. You're going to have to know Spark. And that's probably what you should learn first. Last but not least, a topic I want to just kind of cover in today, hopefully dive in more and maybe interview some people on this topic. It's been a lot of heat generated around it. Some of that heat generated by me, and I'm happy to do that, is the whole notebooks in production argument. Now I've written a number of articles on this topic, a lot of which have been blown up and referenced and made people extremely mad, but I still stick to my guns. I think notebooks in production are a bad idea. And most software engineers who have been around the block
SPEAKER_00would agree with me. It's really only the people that are dependent on notebooks for one reason or another are the ones that love them. And a lot of the vendors in the space, especially Databricks, have some culpability in that because all of their examples and a lot of the marketing and stuff they push are with notebooks, which is understandably something that they would do because notebooks are very easy to use. Anyone can use them. It lowers the bar for people getting into user tools and try their new features. So of course, people are going to get hooked on it. They're not going to do the best practices they should.
SPEAKER_00They're going to start doing stuff in notebooks and they're going to end up in production and people are going to shoot themselves in the foot and then get upset about it. I honestly don't think there's that much to argue about when it comes to the notebooks in production topic. You know, any good software engineer worth their salt knows that it's a bad idea for many, many reasons, regardless of if you like them or not. And you're fine using them for development, things like that. But It's just obvious that they are bad and they create bad software engineering best practices and make things very hard. In my opinion, well... I wouldn't say even my opinion.
SPEAKER_00I think it's the truth that notebooks are bad in production. It should not be done that way. Shame on you if you're doing it that way. Go read some articles about it and some articles that others have written about it. And it's pretty much a consensus with those that are giving a serious take on the topic that you need to be extremely careful when using notebooks in production. You should never do that. Even using them part of your development lifecycle, that's okay, but you still need to be careful. Thank you for listening to the Data Engineering Central podcast. I appreciate you listening to episode one. Hopefully in the future I can interview more people,
SPEAKER_00dive into topics, let me know what you liked and like, what you want to hear about. Again, I appreciate your support.
What happens to software engineers when AI can write most of the code? In this episode of the Data Engineering Central Podcast, I sit down with Gregor Ojstersek, former CTO, author of The Multiplier Mindset (O’Reilly),...
What happens when you finally achieve financial independence, walk away from a successful career in Big Tech, and have the freedom to do whatever you want? Is it everything you imagined it would be? In this episode of...
What does it actually take to build AI systems that work in production? In this episode of Data Engineering Central, I sit down with Maria Vechtomova, AI Engineering Lead, co-founder of CAUCHY, Databricks MVP, and...
I sat down with Erfan Hesami, founder of Pipeline to Insights, to talk about where data engineering is headed as AI and agents become part of everyday engineering work. We dig into the changing role of the data...
What happens when you spend decades building a successful career in tech, finally reach Big Tech, and then suddenly get laid off? In this episode of the Data Engineering Central Podcast, I sit down with AsianDadEnergy...