
dbt reader
The full dbt repo is now visible inside Omni. No more jumping back and forth, just easy lookup of your entire dbt model from inside Omni, including opening reconciled dbt SQL to test live.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I'll jump in with the demo all right um so some of you have already been seeing this uh because if you have DBT set up and you're logged in as an admin this new little tab here automatically shows up for you for anybody who's not an omni admin this is behind a feature flag um but we're now ready to start turning this flag on for people and that's the uh the DBT IDE I demoed a version of it a few weeks ago it's now ready to get some use um so uh one of the big issues from before was performance and a lot of that has been cleaned up now through a various means of caching and optimizing the way that we pull stuff so
all of the uh expansion and seeing what files there are is going to be pretty instantaneous because this whole section here is cached as well as um as you switch between files that all gets cached uh every 5 minutes the cach will expire we may have to do a new git clone which can be slow if you have a really big repository but then for another five minutes It'll be fast um so as we kind of get more usage and see what performance issues we run into obviously a lot of this can be improved even further um and then one of the cool things is that if you open a model this little open and workbook uh button will appear there click that and it
opens it for you in a DBT workbook where you can then run it make changes to it um push it one thing has not done yet it will be coming soon is that this will not have the correct file name um but the workflow should be you open a model you open it in a workbook tab you make changes to it you can then push it and have like a full development workflow on your DBT model uh and then one thing that's uh in progress coming soon so this is my development environment if you can see I just switched tabs I'm not sure if I'm only sharing one tab um but is syntax highlighting thanks so um yeah a simple thing but Syntax highing for
SQL files markdown files you can see this is like bolded um and yo so that's that Buck I'm GNA show one more uh I just want to show one more example too for the demo of uh I'm GNA pull up our thing just to show folks to like I'm I'm pulling up a model here that actually has like DBT syntax and stuff which like you showed a a cool example of like you open the workbook but uh it was pretty simple SQL but just to like reiterate that we can run the full DBT uh model here with DBT syntax and everything so we'll give this a second because it's probably going to take a minute but just a another real life cool example here this
is really cool I had a question um so if they open up a model in Omni I know the current state is only being able to push net new models down but is there any we're working towards in terms of like editing a model in Omni and then pushing that back down to DBT or like what's the workflow around that yeah so um that was what I was pointing out with the uh when you push the file name gets all messed up but um pretty soon we'll have that fixed to where you can edit an existing model and the workflow would be you start from this dbti IDE you click to open it in a workbook where you then can then edit the SQL you
can preview the results once you're ready you push it's going to push it to the same model in your repository that'll make a poor quest in GitHub you then merge the changing GitHub and wait for your production DBT build to actually build it into your Warehouse that's awesome thank you for the query that Ariel was showing there with the config and stuff you when you hit run like that's that's just running the SQL query right as as opposed to doing a DBT run command and like building the tables right it's not building anything so if you have refs your models depending on other things and they don't exist in your Warehouse yet you'll get an error um but otherwise it is compiling the ginger and
the SQL into a runnable SQL query and then executing that SQL query so you can preview the results I just want to give a quick plug for this I to hop but uh this has been super super useful for getting people set up on DVT as well I know I was telling Buck this the other day but like being able to go and really look at like people's project file and the macros and all see that alongside so like definitely dig in on the SE side it's been really really useful uh and just a super super great add-on so thank you