From a1d88bc61a42219836b3a8841a7f2062cc1f61dc Mon Sep 17 00:00:00 2001 From: Benoit Perigaud <8754100+b-per@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:48:25 +0100 Subject: [PATCH] Updating docs for source freshness rule --- docs/rules.md | 3 ++- docs/rules/testing.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/rules.md b/docs/rules.md index adf49269..4c4042fa 100644 --- a/docs/rules.md +++ b/docs/rules.md @@ -19,9 +19,10 @@ hide: |Modeling |[Root Models](../rules/modeling/#root-models) |`fct_root_models`| |Modeling |[Staging Models Dependent on Downstream Models](../rules/modeling/#staging-models-dependent-on-downstream-models) |`fct_staging_dependent_on_marts_or_intermediate`| |Modeling |[Unused Sources](../rules/modeling/#unused-sources) |`fct_unused_sources`| -|Modeling |[Models with Too Many Joins](../rules/modeling/#models-with-too-many-joins) |`fct_too_many_joins`| +|Modeling |[Models with Too Many Joins](../rules/modeling/#models-with-too-many-joins) |`fct_too_many_joins`| |Testing |[Missing Primary Key Tests](../rules/testing/#missing-primary-key-tests) |`fct_missing_primary_key_tests`| |Testing |[Test Coverage](../rules/testing/#test-coverage) |`fct_test_coverage`| +|Testing |[Source Freshness](../rules/testing/#missing-source-freshness) |`fct_sources_without_freshness`| |Documentation |[Undocumented Models](../rules/documentation/#undocumented-models) |`fct_undocumented_models`| |Documentation |[Documentation Coverage](../rules/documentation/#documentation-coverage) |`fct_documentation_coverage`| |Documentation |[Undocumented Source Tables](../rules/documentation/#undocumented-source-tables) |`fct_undocumented_source_tables`| diff --git a/docs/rules/testing.md b/docs/rules/testing.md index 7b784f06..7cc290ae 100644 --- a/docs/rules/testing.md +++ b/docs/rules/testing.md @@ -40,8 +40,8 @@ Source freshness is useful for understanding if your data pipelines are in a hea **How to Remediate** Apply a [source freshness block](https://docs.getdbt.com/docs/build/sources#declaring-source-freshness) to the source definition. This can be implemented at either the source name or table name level. ---- +--- ## Test Coverage `fct_test_coverage` ([source](https://github.com/dbt-labs/dbt-project-evaluator/tree/main/models/marts/tests/fct_test_coverage.sql)) contains metrics pertaining to project-wide test coverage.