dbt reader

Buck Ryan · Friday Demos · November 1, 2024 · 4:38

An early preview of our dbt reader in Omni. This allows Omni developers to view the entire dbt git repo, for simpler debugging rather than having to jump across apps to understand the dbt…

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. thanks um I'll be quick this is more of an internal thing it's not um ready to be used and likely won't be um for a little bit of time but um yeah so DBT stuff there's this route that is hidden when you go into the connection settings that some people use for debugging purposes uh where you replace the URL with SL debug um and it gives you some information about DBT stuff there's sort of a new and improved version of it and it's the beginnings of a DBT IDE you can access it right now by um if you just saw what I did get rid of the URL from IDE onwards and replace it with DBT and now you can see the contents of the

  2. DBT repo um be before warned that this is slow every time you do something it's doing a full git clone of the repository it's quick because I'm using a very small git repository but for i' some customers in PR I've seen it you know any sort of expanding of a directory or opening of a file can take 10 plus seconds um but at the moment this is just for debugging purposes we can now access any file we want rather than just the specific macro and DBT project that I was pulling in before and uh yeah this is kind of laying the foundation for what will eventually be a more full-fledged DBT IDE that's it very cool that's super exciting Buck that's awesome hey Buck you

  3. you um reminded me of something that I did this week and I'm just curious um these large repositories is that because people are using mono repos or just they have a ton of stuff in their DBT repo uh the ones that I saw were monor repos oh okay well I'll just plug a feature that I released on Monday that we might want to take advantage of in the DVT space too to speed things up so I landed uh we had a customer that had a really large repo that we were having problems with and we actually still having some problems with it even after uh my stuff landed but I think that they're going to try again next week and we've got a fix for

  4. that but I introduced a new feature flag called sparse checkout and so um you can now actually specify what subdirectories of the get repository you want in the work tree so that we're not cloning and and checking out files that actually we don't care about if people are using monor repot so it might be something that we want to want to look at uh implementing for your DBT uh repos as well um Buck how close is that to to in the product the version that I just showed that's slow and everything is in the product now that's all in prod okay um a more full fleshed version is TBD we may be going in sort of a different direction for the next work that's not

  5. focusing on the D on the IDE so yeah yeah that's where I just um like for the sees I think from like a demo perspective that would be really really nice to show in just a demo workflow so it's like in the same way that we showed the DBT metadata in the model I think just showing that you can just view DBT uh sort of like objects and transformation in Omni is is really powerful but can you share the short version of what the next steps are um whether there or elsewhere on the DV yeah I think the most immediate like the most obvious Next Step are making it functional speed-wise um through a combination of what conard was just saying as well as like

  6. caching file contents and directory structures um and then and then it's uh I mean what would be great is if this got combined with the DBT workbook stuff where you could actually execute models um here rather than needing to go into a workbook um but yeah that's uh roughly what I have in mind