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

[CT-3322] [Bug] Incorrect behaviour described in docstring for get_custom_database macro #9003

Closed
2 tasks done
LeoTheGriff opened this issue Nov 6, 2023 · 4 comments · Fixed by #9002
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@LeoTheGriff
Copy link
Contributor

Is this a new bug in dbt-core?

  • I believe this is a new bug in dbt-core
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

Incorrect behaviour described in docstring for get_custom_database macro: describes postfix when it is replacement of database target.

Expected Behavior

Docstring for get_custom_database macro describes replacement of database target.

Steps To Reproduce

N/A

Relevant log output

No response

Environment

No response

Which database adapter are you using with dbt?

No response

Additional Context

No response

@LeoTheGriff LeoTheGriff added bug Something isn't working triage labels Nov 6, 2023
@github-actions github-actions bot changed the title [Bug] Incorrect behaviour described in docstring for get_custom_database macro. [CT-3322] [Bug] Incorrect behaviour described in docstring for get_custom_database macro. Nov 6, 2023
@dbeatty10
Copy link
Contributor

Thanks for reaching out about this @LeoTheGriff !

Can you share more about what specifically you are seeing?

e.g., share a screenshot or a link to a website that highlights what looks incorrect to you.

Also, could you share what steps we can take to see it as well?

@LeoTheGriff
Copy link
Contributor Author

LeoTheGriff commented Nov 6, 2023 via email

@LeoTheGriff
Copy link
Contributor Author

It is a minor fix, I proposed a solution in the linked PR

@dbeatty10 dbeatty10 changed the title [CT-3322] [Bug] Incorrect behaviour described in docstring for get_custom_database macro. [CT-3322] [Bug] Incorrect behaviour described in docstring for get_custom_database macro Nov 6, 2023
@dbeatty10
Copy link
Contributor

No prob. Looks like there was copy-paste within #2143 in which the comments didn't get fully updated for accuracy.

Thanks for opening that PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants