
Deferred dbt Environments
New feature that lets a development environment defer to production for any views that don't match a locally-built dbt model, with a visual indicator highlighting which schemas are in the…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
more interesting change demo is new feature called deferred environments. Um, so let's go back into the I'll show you it from here. I don't want to ruin the surprise. So on environments, there's an of this new option enable deferral. And what this supports is that there's a common use case where especially really big organizations you have a too many models and if you're trying to develop on a single isolated model, you don't want to build the whole thing in your development environment.
You just want to build that one thing. And so then if you go into Omni and you set up your environment to reflect this what would happen is that the virtual environment would just have your single model instead of being able to sort of test everything. And there's an actual DBT feature to support this called deferral, um, which we're not exactly using.
We're almost creating like our own version of deferral, but the idea is that when you have deferral enabled, any views which match a DBT model that you've built in your development environment will use your development environment. Everything else will defer back to production. Um, and so I'll show you what that looks like when you've enabled that and you switch into a branch.
So I've already got it set up. Um, this is what it looks like. So we have added this little indicator, um, where you can see this um, yellow will highlight schemas that have a model that matches the setup. Um, so we can see that in this schema, this is the only um, DBT model that I've built in this environment and that's why it's highlighted.
So when you click into this, you can see that the target schema is DBT deferred. If you're looking at this one it's just DBT. Um and we can explore further show you what's going on. Uh So, this is one that is a production table. So, you can see that if I click the DBT target name, it's going to show me it's using prod.
Whereas if I were to go into this one, which is in my development environment, and click DBT target name, it's using the deferred environment. Um yeah. So, I think that's that's pretty much it.