Has anyone ever encountered an error where you are able to run your dbt project fine locally but when you use prefect it has screwed up using the custom schema and materializations utilized within your project?
✅ 1
s
Sean Williams
10/24/2023, 7:07 PM
Are you also triggering it locally with Prefect? I wonder if the environments are just out of sync
j
Jakob Bluhm
10/24/2023, 7:15 PM
So I run a flow pulling down the latest git-repo in a different file location and then run another flow pointing exactly at that location where the most up to date repo is. I did this to try and avoid the environments being out of sync? Its all occurring locally
s
Sean Williams
10/24/2023, 7:21 PM
Do the custom schemas change based on the specified target or rely on any environment variables?
j
Jakob Bluhm
10/24/2023, 7:25 PM
No I just run dbt run --target dev and prod which should have the same dbt schema structure
s
Sean Williams
10/24/2023, 7:35 PM
Would you mind sharing your flow code? Feel free to DM me if you prefer