Closed MichelleArk closed 5 days ago
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.
Attention: Patch coverage is 95.45455%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 88.98%. Comparing base (
db69473
) to head (6da854a
). Report is 5 commits behind head on main.
Resolves https://github.com/dbt-labs/dbt-core/issues/10714
Problem
During execution of microbatch models, each batch is re-compiled with batch-level time filters. Currently, this results in the compiled/run .sql files becoming clobbered on each write when there should be one file per compiled/run batch.
Solution
Pass an additional argument,
split_suffix
(naming suggestions welcome!) that splits the write path by the suffix and writes to a top-level directory without the suffix.Checklist