
dbt Development Workflow
Centralized dbt IDE improvements: choose environment and Git branch in one place, auto-sync on save, inline validation errors with troubleshooting guidance, and the ability to ignore errors…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Hello, congratulations. Much of what I'm going to show has been available for a few weeks now. Actually, most of this has been available for some time, but I wanted to wait until everything was put together in one package to showcase it all together rather than doing smaller separate things. There have been a number of changes to the dbt development workflow that I'm going to show.
The goal of all this is to clearly show what you need to do when developing in dbt, so that you don't have to choose an environment in the menu at the top, then go to the dbt IDE if you want to change a git branch, and then go into the model to click dbt metadata sync and other things like that.
We are trying to centralize all of this in one place. So, we now have a button instead of a menu item. It will take you to the dbt IDE. You can select the desired dbt environment and git branch in one place. So let's do this. And when you save the changes, the system will automatically start synchronization for dbt.
This also brings the functionality that was in the status dialog to the dbt IDE. We want you to work primarily with the dbt IDE when developing dbt. Here you can select an environment and branch, as well as diagnose possible problems. So after the sync is complete, you will see an error. This is another part of all this .
We display errors and information in the validation window, in the context of the validator . Now you can go here and view the model that reports the discrepancy. This is equivalent to what was in the status dialog box, reporting that this model did not match. You can see it directly in the text, and we also have a troubleshooting button at the bottom that will provide more information about the specific problem.
It reports that the model does not match and suggests what can be done about it. There are other types of problems, such as semantic layer problems, which were previously contained in a file called semantic layer. Now this is a validation issue, where you can see that the cause of the problem is an unrecognized alias. You can use the troubleshooter to find out what's going on, or you can ignore them.
So if you have, let's say, all these DBT models, let's say we go to a scheme called core, and you just don't add it to Omni. You are not interested in any of these problems, you can ignore all errors for this directory, and now they will no longer bother you. Um, and yes, we also tried to improve the process so that when you go in here to change the settings and then come back to the IDE, you're automatically taken to the file where you were before.
Hopefully this will make it easier to switch between these two windows. Hmm, and so, it seems that's all for now . Quick question. If you have already ignored them, can you then bring them back or un- ignore them? Not yet. The backend is already configured for this. We just haven't implemented the interface for returning them yet, but it would be easy enough to do.
Thank you. This is wonderful. Thank you. OK.