datarootsio / prefect-dbt-flow

prefect integration for running dbt
MIT License
55 stars 4 forks source link

Support full-refresh #40

Open sgsfak opened 1 month ago

sgsfak commented 1 month ago

dbt supports the --full-refresh option on the command line to run in a non-incremental mode. Such an option would be useful for prefect-dbt-flow too (e.g. enabling full refresh from a Prefect flow parameter)

fr3fou commented 1 month ago

Is there a workaround for this? I'm using materialized views which don't get updated when there's an SQL change (https://github.com/dbt-labs/docs.getdbt.com/issues/5215), necessitating a full refresh.