Skip to content
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

dbt debug --connection #3725

Closed
1 task done
jtcohen6 opened this issue Jul 13, 2023 · 3 comments · Fixed by #3731
Closed
1 task done

dbt debug --connection #3725

jtcohen6 opened this issue Jul 13, 2023 · 3 comments · Fixed by #3731
Assignees
Labels
content Improvements or additions to content dbt-core v1.6 Docs impact for the v1.6 release (July 2023) improvement Use this when an area of the docs needs improvement as it's currently unclear

Comments

@jtcohen6
Copy link
Collaborator

Contributions

  • I have read the contribution docs, and understand what's expected of me.

Link to the page on docs.getdbt.com requiring updates

https://docs.getdbt.com/reference/commands/debug

What part(s) of the page would you like to see updated?

Use the --connection flag to test just the connection

Additional information

@jtcohen6 jtcohen6 added content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear idea Proposes an idea for new content dbt-core v1.6 Docs impact for the v1.6 release (July 2023) labels Jul 13, 2023
@jtcohen6 jtcohen6 added this to the dbt Core v1.6 Documentation milestone Jul 13, 2023
@mirnawong1 mirnawong1 self-assigned this Jul 13, 2023
@mirnawong1
Copy link
Contributor

@jtcohen6 i just want to make sure i understand this, do i have to replace dbt debug with dbt debug --connection to test just the connection? and is this for ALL versions or just for 1.6 and higher?

@jtcohen6
Copy link
Collaborator Author

@mirnawong1

  • dbt debug (no flags) works the same as always, and it tests everything: your DWH connection, plus the validity of your project file and your installation of any requisite dependencies (namely git for running dbt deps)
  • You can specify dbt debug --connection (with the added flag) to skip those other checks, and just test the connection to the DWH given a profile
  • This new capability (--connection flag) is for just v1.6+

@mirnawong1
Copy link
Contributor

gotcha thanks! have updated my pr 🙏 #3731

dbeatty10 added a commit that referenced this issue Jul 15, 2023
Adds `dbt debug --connection` flag to test connection only  in 1.6.

Resolves  #3725

Not sure if i did this correctly @jtcohen6

---------

Co-authored-by: Doug Beatty <44704949+dbeatty10@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ly Nguyen <107218380+nghi-ly@users.noreply.github.com>
@runleonarun runleonarun removed the idea Proposes an idea for new content label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content dbt-core v1.6 Docs impact for the v1.6 release (July 2023) improvement Use this when an area of the docs needs improvement as it's currently unclear
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants