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

check-script-ref-and-source hook not accounting for versioned models #214

Open
tessaberliner opened this issue Apr 17, 2024 · 0 comments
Open

Comments

@tessaberliner
Copy link

I just tested the newest dbt-checkpoint version against hooks on models, and most of them seem to function properly (specifically the ones relating to properties files/descriptions/etc.). However, the check-script-ref-and-source hook throws an error in instances where a versioned model is referenced within another model.

Here's the error I received (with model names changed for privacy):

Missing model (ref) example_model_responses, v=2
Missing model (ref) example_model_groupings, v=2

For now I'm stripping that hook from our pre-commit but it would be awesome if this could be fixed!

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

No branches or pull requests

1 participant