-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make the debug
subcommand actually useful
#1061
Comments
I'm not sure if this belongs in
I'm working in multiple environments and regularly give myself mini panic-attacks when I think I've accidentally run something against production I didn't mean to. |
Yesterday, I had an issue with Snowflake. The message I got was "No active warehouse selected in current session. Select an active warehouse with the 'use warehouse' command" The problem ended up being a missing grant on the warehouse, but the log did not show whether it was attempting to use the warehouse I had defined in profiles.yml It would be good to have more information on the connection to the DB. Here is the relevant section of the log.
|
I agree with @mikekaminsky – I'd really like a way to test that a profile is working. Given it's one of the first things you need to set up when starting with dbt, it would be nice to be able to say something along the lines of:
Also not sure if it's actually part of |
dbt debug options
dbt debug usage (if everything is configured correctly)
dbt debug usage (if not run from a dbt project directory, but with a present
dbt debug usage (with an invalid or empty profiles.yml file)
dbt debug usage (when unable to connect to the db)
For the connection test, dbt should run a |
Feature
Feature description
Presently,
dbt debug
is pretty useless. I think we should trim out a lot of the output, and instead show:git
installed?)I'm sure there are other relevant things to add here, and not all of the above are strictly necessary.
Who will this benefit?
Folks who are new to dbt, or are configuring advanced functionality like custom schemas, for instance.
The text was updated successfully, but these errors were encountered: