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

lim_market_customers fails on dbt run #3

Open
JH255095 opened this issue Dec 13, 2024 · 0 comments
Open

lim_market_customers fails on dbt run #3

JH255095 opened this issue Dec 13, 2024 · 0 comments

Comments

@JH255095
Copy link

There is no guarantee that the related staging model that is the alternative to getting the data directly from cloud storage and that does include the pre_hook will run first. The aforementioned model references a source so it is a first level node in the dag, as the staging model is.

To fix this we either, avoid referencing the cloud storage directly in this model, and we reference the staging_model instead, this is my preferred option, or we include the prehook to ensure the table does exist, but that implies duplication.

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