
dbt SQL in the UI
New mode to write dbt SQL from the UI, including references for simple push down to dbt
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
okay guess I'll go now oh dear I had way too many things open I hope I get the right thing to share okay so um yeah uh this uh feature that I'm going to demo I did a little video about it in the dbg channel um maybe like last week it's now merged however it's behind a feature flag and it's not ready for use by customers but I wanted to give you AE and if people want to start playing around with it internally you can do so uh what it is is a new mode that a workbook can be in which is a DBT mode so we have to do right now is first switch it to editable SQL turn off superpowers and then turn
on DBT mode um and even in this demo we're going to see some quirks uh there are known quirks about the way this works it's very early um but now that I've switched that into I can start writing this SQL uh as a DBT model which means I can include BBT templating syntax like uh a top LEL model and I for some reason I have to click this twice right now and we're going to see this error and then it'll disappear hopefully in a second and we'll get some results yeah so we got some results and we can add you know like a second second fake value just to demonstrate that it's um it's not all smok and mirrors it is actually compiling down to
SQL and if we view the inspector on the right here we can see this is the SQL that it's generating um so yeah the idea would be you know you use this to sort of develop your DBT models and then preview the results and once you're satisfied like you can push it to your DBT repo so that's where this is headed it