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

[Feature] Allow node level dependency deprecation warnings #10834

Open
3 tasks done
jeremyyeo opened this issue Oct 8, 2024 · 0 comments
Open
3 tasks done

[Feature] Allow node level dependency deprecation warnings #10834

jeremyyeo opened this issue Oct 8, 2024 · 0 comments
Labels
enhancement New feature or request triage

Comments

@jeremyyeo
Copy link
Contributor

Is this your first time submitting a feature request?

  • I have read the expectations for open source contributors
  • I have searched the existing issues, and I could not find an existing issue for this feature
  • I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature

At the moment, the deprecation_date warnings only show up at the "project level" - so at the initial compilation phase... this means that users who ignore that-top-bit will be unaware that a model is ref-ing a model that has already been deprecated - especially true in dbt Cloud:

image

If the system logs are minimized (which it is by default) - then you wouldn't be able to tell at all:

image

There is a current bug where this "bar depends on deprecated foo" warning is gone from versionless (#10833), so I've reverted back to 1.7 to record the above screenshots.

Describe alternatives you've considered

Turn the warning into an error - not ideal as this would break users runs. The idea is just to provide a node level warning so that it is more obvious that it is now during development.

Who will this benefit?

Users who want a more obvious "soft error" (warning) that their models are using deprecated models.

Are you interested in contributing this feature?

No response

Anything else?

No response

@jeremyyeo jeremyyeo added enhancement New feature or request triage labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

1 participant