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

Change database name for the catalog.sql. #230

Conversation

EminUZUN
Copy link

@EminUZUN EminUZUN commented Feb 14, 2023

Overview

#228 Database name is not getting changed in each run. So this fix is getting desired database for catalog_name = '{{ database }}'

Example:
resolves #228

Checklist

  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • README.md updated and added information about my change
  • I have run changie new to create a changelog entry

@EminUZUN
Copy link
Author

Hey @mdesmet,
I have closed pr #229 as I messed it up when I wanted to fix my email in the commit.

I have added the changes and generated changelog.

@mdesmet
Copy link
Member

mdesmet commented Feb 14, 2023

Can you also provide tests? We already test the catalog.json generation.

@EminUZUN
Copy link
Author

Can you also provide tests? We already test the catalog.json generation.

I could... But I'm not so familiar with the product. I've just tried find the reason of bug, and fixed it.

@hovaesco hovaesco merged commit a4cb44b into starburstdata:master Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'dbt docs generate' command doesn't create sources block in catalog.json file
3 participants