dbt表覆盖率指标

问题描述

鉴于我有一个数据仓库,其中的数据表是由dbt从各种来源创建的,因此我想测量一个概念,例如'dbt table coverage',我将其定义为:

dtc = count(tables and views that exist) / count(non ephemeral models and sources)

这对于保持质量/完整性感非常有用,尤其是在过渡项目期间。是否有像这样的dbt命令:

dbt report table-coverage --schemas=['reporting','example']
>>> 96% coverage,48/50 tables in the schemas provided are captured in dbt. 

如果没有,我们如何将其添加到项目中?!

我可以采取哪些替代方法来解决问题

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)