dbt SQL mode (very soon)

Buck Ryan · Friday Demos · October 4, 2024 · 1:56

A new UI mode for writing dbt SQL (ie. Jinja + refs). Now for handwritten SQL folks can toggle into dbt SQL mode for confirming well composed SQL and results before pushing to dbt.

Transcript

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

  1. I can jump in on a demo one second while I find my usual trying to find the right window thing okay um yeah so there's a video of this on the DBT Channel if you don't feel like listening to me right now you can just go watch that later uh there is a new way of pushing queries to your DBT repo that uses a feature that I gave a brief demo of a few weeks ago uh that's more flushed out now it's called like DBT workbook tab mode if you want to use a really long name for it um but basically uh SP a feature flag it'ss out and prod H what you'll see when you turn the flag on is before this used to

  2. say push to DBT repo now when you have a regular old query what you have to do first is convert it to a DBT model this will make a new tab and convert to the SQL that you would have previously seen in a popup window you can then um modify this run it you'll see the results here um and there's a few special things about these types of tabs like the menus are shorter there are some things you can't do for these types of things uh this menu is also shorter when you switch to a dashboard those queries will not show up and there's a reason why um but uh yeah so the the cool thing is that you can now see previews once you're

  3. ready you can then go ahead and push it um and that's about it woohoo super cool I look forward to demoing this next week Buck thank you