Pawel Potasinski’s Post

View profile for Pawel Potasinski

CTO at InfiniteDATA Services | Enterprise Data Architect | Data Platform Geek | Community Leader & Speaker

🤯 How the hell did I miss this update to Databricks SQL last month? 💡 Databricks have been serious about their investments in SQL for some time now. In July they introduced stored procedures in their Databricks SQL (version 2025.20 in Preview)! As in other data platforms, stored procedures in Databricks SQL are pre-compiled collections of SQL statements allowing users to manage their SQL logic into a single, reusable unit. As expected, procedures in Databricks are stored in Unity Catalog. And yes, they can be nested and recursive ;-) ✨ Why I think this is important? Because: 1) it's another important step to make Databricks more friendly for SQL developers willing to use their skills (and habits) built on other platforms (often on-premises RDBMSs) to Databricks and 2) support for stored procedures can simplify the migration process when moving from SQL-based platforms to Databricks. ❓ Anyone has already given a serious test drive to stored procs in Databricks SQL? ➡️ Read more here: https://lnkd.in/dYUwzevW #Databricks #SQL #StoredProcedures #DataPlatform #DataEngineering

  • graphical user interface, text, application
Luca Bovo

Owner & Mentor @SQLServerPills

2mo

Some time ago SQL was banned claiming that everything could be done with DataBricks or Fabric or who knows what grinder. Now DataBricks has integrated SQL just as Fabric did... This means having a clear path to follow... Not!!!

Luca Zavarella

Data & AI Solution Hub Lead | Microsoft MVP for AI and Data Platform | Book Author | Contributor at Towards Data Science

2mo

Pawel I’ve been working with Databricks SQL procedures in a project, and they’ve been a real life saver allowing me to encapsulate multiple pieces of logic into reusable components. Along the way, I ran into a few quirks, such as issues with STRUCT that I had to resolve using NAMED_STRUCT. What I still don’t get is why Databricks decided to introduce such a non-standard syntax for calling procedures: CALL my_procedure( param1 => value, ... paramN => value ) It feels unnecessarily naive. They could have simply stuck to standard SQL syntax instead of reinventing the wheel yet again.

Matt Martin

Staff Engineer - Claims Data at State Farm ®

2mo

Databricks is becoming sql server

Josue “Josh” Bogran

VP of Data + AI @ zeb | Advisor to Estuary | Databricks Product Advisory Board & MVP / Subscribe @ Youtube.com/@JosueBogranChannel

2mo

My guess is that this has to do a lot more with number 2 (supporting migrations) more than anything else. I've seen it as a pain point of concern before around this.

Gaganpreet Singh

I talk about databricks and snowflake. All views are mine.

2mo

On top of that even multi statement transactions are in private preview as well .

Andre Carneiro

Senior Data Engineer at Serasa Experian

2mo

Is it possible to debug and test this?

Julia Førde

Databricks MVP | Lead Consultant | Architect / Senior Data engineer

2mo

Totally agree! This is a very important step for making Databricks a serious optionfor SQL developers. Many people have told me, those problems can be solved with other tools, but as you say that is not really the point... 🤓

Bang up to date with a feature which has been available in Oracle since at least 1994 in Oracle 7

See more comments

To view or add a comment, sign in

Explore content categories