-
Notifications
You must be signed in to change notification settings - Fork 16
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
Adding support for Database in Manifest Json #85
Comments
I had this issue and posted in the chat in Slack and wasn't able to ever get it working. https://getdbt.slack.com/archives/C027B6BHMT3/p1680535202992639 here was the response from the teradata person in the chat:
|
@Austin1 Thanks for the feedback. Actually I opened this issue to give the team visibility on the topic you noticed in Slack. |
I made modifications to the dbt-teradata codebase to assign the schema value to the database name by adjusting the dbt/include/teradata/macros/adapters.sql file as follows:
This change enables the schema name to be returned whenever dbt-core attempts to retrieve the database name, successfully adding the database name to the manifest.json file instead of returning None. Issue with catalog.json
According to this policy, dbt-core renders the list of nodes without including the database name in path_part, resulting in an empty list of nodes in the catalog.json file. Consideration of Teradata's Schema Implementation Impact on Integration with Other Tools Conclusion |
Describe the feature
Sometimes users need to have a reference to the database in manifest.json, in order to feed the manifest in 3rd party tools.
The Database category is not used in Teradata since the equivalent is schema, in the manifest the database is populated as Null.
The request from users is that if the Database is defined in the configurations, then the database is populated, this only for documentation matters.
For generating the database artifacts, only the schema will continue to be relevant, as it is right now.
Describe alternatives you've considered
Not applicable.
Additional context
This is only related to documentation and manifest file.
Who will this benefit?
Users that feed the manifest in other 3rd party tools.
Are you interested in contributing this feature?
I could.
The text was updated successfully, but these errors were encountered: