-
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
[CT-3406] catalog.json file does not contain sources #9119
Comments
Hi @dbeatty10 , Can you please look into this issue? |
I was able to reproduce this using sources:
- name: my_src
tables:
- name: my_tbl Using v1.6, running {"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.6.8", "generated_at": "2023-11-20T14:26:21.130444Z", "invocation_id": "9f22c469-d8ce-4be1-859c-10c76f28f0de", "env": {}}, "nodes": {}, "sources": {"source.my_dbt_project.my_src.my_tbl": {"metadata": {"type": "BASE TABLE", "schema": "my_src", "name": "my_tbl", "database": "jerco", "comment": null, "owner": "jerco"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "timestamp with time zone", "index": 2, "name": "updated_at", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.my_dbt_project.my_src.my_tbl"}}, "errors": null} Using v1.7: {"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.7.2", "generated_at": "2023-11-20T14:27:04.897413Z", "invocation_id": "2eb884eb-c212-47d3-a15d-6403e41f776e", "env": {}}, "nodes": {}, "sources": {}, "errors": null} |
Notes from estimation:
|
Hello @aranke , any update on this issue? |
Hi @tallamohan, I'm working on this right now, should be merged in by the end of this week. Thanks, |
(cherry picked from commit c836b75)
Hay @aranke , When can we expect the next release with this fix? |
…cs generate` (#9163) Co-authored-by: Kshitij Aranke <kshitij.aranke@dbtlabs.com>
@aranke I know this issue is ~3 months old, but I just encountered this problem with If this was resolved at one point within the past few months, could something have undone the fix? |
@bdtoole I opened this issue to investigate further: #9678 One possibility here: #9678 (comment) |
Is this a new bug in dbt-core?
Current Behavior
The catalog.json file which is generated after "dbt docs generate" does not contain the "sources"
And we have made changes required for dbt-core 1.7.x
#8307
Expected Behavior
catalog.json file should contain "sources" details
Steps To Reproduce
Relevant log output
Environment
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
dbt-teradata
The text was updated successfully, but these errors were encountered: