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

[CT-2039] Raise deprecation warning when compiling/running resource that depends on model with deprecation date #6870

Closed
Tracked by #6747
MichelleArk opened this issue Feb 6, 2023 · 2 comments
Labels

Comments

@MichelleArk
Copy link
Contributor

MichelleArk commented Feb 6, 2023

dbt should raise a (deprecation) warning when compiling/running resource that ref’s a model with a deprecation_date.

@github-actions github-actions bot changed the title Raise deprecation warning when compiling/running resource that depends on model with deprecation date [CT-2039] Raise deprecation warning when compiling/running resource that depends on model with deprecation date Feb 6, 2023
@emmyoop
Copy link
Member

emmyoop commented Mar 6, 2023

Compilation errors generally occur when we render something in Jinja and it blew up. It's unclear where we would catch the ref to a model with a deprecation date. This may be more complicated than it seems on the surface and might need some exploration on how to solve.

It would be easier to raise the warning when processing refs.

@MichelleArk
Copy link
Contributor Author

closing in favor of implementation issue: #7433

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants