
Compute Routing
New `compute_routing` model parameter for Snowflake, Databricks, and BigQuery that lets you route AI queries to specific warehouses/slot reservations to avoid slowing down dashboards.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Good morning. I guess this one. All right. All right, just a couple quickies. Um this is actually live. So, this week added a new model parameter called compute routing. Uh we already had a concept of warehouse override and this just takes that a step further and allows you to specify different um warehouses in the case in the case of Snowflake or Databricks or slot reservations in the case of BigQuery.
So, uh kind of a lame demo because I don't actually have access to any uh non-standard or any other um warehouses, but I can show you I've added for the workbook contacts. We're going to use this warehouse workbook. And if we jump into an explorer, Andre, are there any permissions around these things? No. Whatever's provisioned on the um on the connection or whatever's available to the connection, you can specify in the in the model and we have not set it so that actually I should double-check that, but I don't think that we've set it so that changing this in say a workbook model uh this will lock out restricted queryers.
That said, I do have a follow-up task to add these settings as connection properties and like an advanced connection setup and part of that will include a flag that says you can't override these in the model. Okay, yeah, that my concern would just be like if there's a private connection or something like that. We want to make sure that someone can't override that the workbook level.
I mean, we're just talking about overriding the warehouse anyway, which like technically we already have the warehouse override parameter if somebody wanted to like if somebody knew the name of the warehouse they could already do it. Okay. So, I I don't think it should be an issue. But but I do I do think that when we add the ability to kind of set this at the connection level then we'll say hey this is locked.
It freezes out the warehouse override and the EQ routing properties so that they're legal within the within the um model. Sorry, I got to get back to what I was doing here. Da da da da da da. Oh, it it kicked me out. Let's see. Let's try this again. Again, kind of almost don't need to demo because it's so obvious.
Yeah, and maybe just to kind of talk to you like why we chose to do this. There's a ton of people who have been kind of concerned just because you're we're using AI so much it's all being routed to the same warehouse and so like if somebody's like doing a more complex AI query that can end up slowing down your dashboards or your workbooks and so you may want to sort of like be a little bit more efficient and clever about how you route those things and so this will save folks on BigQuery, Databricks, and Snowflake the ability to do that.
All right. And so you can see that warehouse doesn't exist so the query failed but obviously you would specify you just name warehouses. And just to give an idea like API uh agentic so for AI queries. So we've kind of broken it out by all of the different dashboards in there. So for different service areas you can specify different workbooks so that you can kind of balance your load the way that you want to.
Uh so that was one and then this one hasn't quite landed yet.