datarootsio / prefect-dbt-flow

prefect integration for running dbt
MIT License
59 stars 6 forks source link

Support full-refresh #40

Open sgsfak opened 6 months ago

sgsfak commented 6 months 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 6 months 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.