brooklyn-data / dbt_artifacts

A dbt package for modelling dbt metadata. https://brooklyn-data.github.io/dbt_artifacts
Apache License 2.0
309 stars 113 forks source link

Fix bug with calculation of last_run stats for incremental models #384

Closed glsdown closed 9 months ago

glsdown commented 9 months ago

Overview

As noted in #372 the way that last_run_* stats are calculated in dim_dbt__current_models is incorrect. This aims to fix them, as well as provide 4 additional fields:

Update type - breaking / non-breaking

What does this solve?

Outstanding questions

What databases have you tested with?