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

Generate schema yaml macro does not retrieve upstream descriptions of versioned models #178

Closed
1 of 5 tasks
PieterBos94 opened this issue Jul 26, 2024 · 2 comments
Closed
1 of 5 tasks
Labels
bug Something isn't working Stale triage

Comments

@PieterBos94
Copy link

PieterBos94 commented Jul 26, 2024

Describe the bug

When using model with versions upstream of a model, the generate schema yaml cannot retrieve the column descriptions.

Steps to reproduce

Create a model with a v1 and v2 upstream of a model you want to generate a yaml for and set upstream_descriptions=True. It will not grab column descriptions of the upstream model.

Expected results

It grabs the column descriptions of the latest version of the upstream model.

Actual results

It does not give any column descriptions from the upstream versioned model.

System information

The contents of your packages.yml file:
packages:

  • package: dbt-labs/codegen
    version: 0.12.1
  • package: calogica/dbt_expectations
    version: 0.10.3
  • package: dbt-labs/audit_helper
    version: 0.11.0
  • package: dbt-labs/dbt_utils
    version: 1.1.1
  • package: dbt-labs/dbt_project_evaluator
    version: 0.9.0
  • package: dbt-labs/dbt_external_tables
    version: 0.9.0

Which database are you using dbt with?

  • postgres
  • redshift
  • bigquery
  • snowflake
  • other (specify: ____________)

The output of dbt --version:

dbt cloud on latest version

The operating system you're using:
dbt cloud on latest version

The output of python --version:
dbt cloud on latest version

Are you interested in contributing the fix?

I have limited experience with dbt packages, so no.

@PieterBos94 PieterBos94 added bug Something isn't working triage labels Jul 26, 2024
Copy link

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jan 23, 2025
Copy link

Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale triage
Projects
None yet
Development

No branches or pull requests

1 participant