
dbt description push down
Now pushing down Omni descriptions to dbt is a couple clicks. The goal has always been putting data modeling logic where it makes sense. Now metadata from Omni can be lifted into dbt for…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Okay, I guess I'm up. That's a tough act to follow, but I'll do my best. Okay, so um this is a uh a longstanding feature request that's finally making its way out, uh which is pushing of descriptions into dbt. So the idea is that like you don't want to be managing things like descriptions and then probably eventually it'll be more than just descriptions, but you don't want to be managing them in DBT and Omni and like having those things out of sync.
Um, so now you can manage them in Omni and sync it back into DBT. Um, there's not a ton to show from the front end, uh, but I'll show you it working. There's a lot happening in the back end that's pretty gnarly modifying uh YAML files, but let's just put like new description. We're going to start with this table that doesn't have any metadata in DBT yet at all.
Push it. And it made a pull request or it made a branch that we can make a pull request for where it just pushed that new description. And in this case there was no previous metadata at all. So it made a file for uh for that metadata. Um but it is smart enough to know if files exist because uh these metadata files can exist not kind of anywhere in the repository.
Um, so if we edit a file like this one, change this to a new description, and let's say we also change the sales one, which doesn't have a description, but it has a metadata file. Save it and then push all of this stuff. we'll see that it is uh one it added that file that we already saw.
Two is that it recognized these metadata files existed already and it parsed the YAML and tried to fit it into the way the formatting works. So like in this case it's using JSON type style of writing the YAML and so it fit the description in there. In this case it's more YAMLish so it fitted it in. So it's making a best effort to not change the formatting of the customer's file in the repository while doing all this stuff.
Um yeah, so that's it. Right, good. as they gum up.