
Offloaded schemas
We're making the model for efficient with giant schemas - new offloaded schemas allow Omni to query and use enormous schemas while reducing the model weight when using the core app.…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
demo. Uh, we've had, you know, Colin's not here to tell me to increase my screen. Uh, we've had this long-standing issue with schema models where if your schema model, if your schema gets too big, so I've generated this big schema that has a thousand tables, 100 columns each table, and I get this message, right, which is basically like, omni is not really gonna work with this model.
Sorry. Like, figure it out. Um Connor and I were talking and we had this idea that actually came up with DBT dev schemas to introduce this new parameter to put a schema in OMI in a new kind of state. uh where basically you're saying like the schema will be I can see the schema I can view I can model on the schema I can query the schema but it won't go into the schema model directly so if I do this update it and then I demo gods I didn't get the steps wrong There's thinking.
Okay. So, yeah, you see the the validation warning went away and I was like, well, what how did it go away? What's what's actually going on? Um if I go to new analysis for model which you'll notice loaded very quickly. Uh the only thing from big schema I meant to show I have this. Yeah. Right. I I touched this one place table O2.
And so that's there. Nothing else is there. It's only there if I go to the schema selector and select it. uh and that you know that that loaded slow that has 1,000 tables. I can go in if I want and model more stuff. Uh and everything's suffering a little bit. But now I think I didn't actually test this but if I get out of the scheme of view.
Yeah. Now table one's there too, right? So like I can kind of bring things in and but my model is not huge. And so the consequence of this is that you don't have all of these tables that you haven't touched sitting in git. You don't have them in all views and fields. So I think for a lot of people banks don't care or they don't want them in there until they touch them.
And so it's not a behavior change for anyone who doesn't go in and like and set this. Just not set it. Nothing will change. But it's useful for uh and we haven't shipped this yet to be clear, but like it's useful for DBT dev schemas and it's also useful if you just have some big schema that's just sitting there making your life hard, but you don't want to just exclude it because if you exclude it, right, you'll never be able to use it in the SQL.
You won't be able to model any single table off it. So anyway, that change, it's a kind of long demo. It's kind of a big conceptual change, but I think we're going to shift that. Stephen, could we like um like in that warning message and stuff, could we tell people about this feature and stuff and like be like, "Hey, made like these are really big.
Might you want to go Yeah, we can we can throw that in with the included schemas. Yeah, the Yeah, included schemas. Offloaded schemas. So many so many scheas. But like any of those like I'm just wondering if like even like for existing customers like once this ships like in those like error messages or any of those things be like hey there's this new feature you totally we should put it in we should put it in those that both both there's two different places where we throw that error message we should put it in both of them.
Yeah. Sweet.