# \#data-quality

**URL:** https://discourse.getdbt.com/tag/data-quality/9.md

[Latest](https://discourse.getdbt.com/latest.md) · [Categories](https://discourse.getdbt.com/categories.md) · [Tags](https://discourse.getdbt.com/tags.md)

---

## [Dbt dev/prod data pipelines](https://discourse.getdbt.com/t/dbt-dev-prod-data-pipelines/4812)

<div class="topic-metadata">

**Author:** [@lawwu](https://discourse.getdbt.com/u/lawwu)\
**Replies:** 8\
**Last updated:** [January 16, 2024, 12:35am UTC](https://discourse.getdbt.com/t/dbt-dev-prod-data-pipelines/4812 "2024-01-16T00:35:01Z")

</div>

Hello, First time adopter of dbt in the last couple months. I had a question around best practices in handling dbt runs for dev and prod. I’d like to: Have a daily job that runs dbt run to target a dev schema Run dbt …

---

## [How to balance the need for controlled development of core models with rapid development of peripheral models](https://discourse.getdbt.com/t/how-to-balance-the-need-for-controlled-development-of-core-models-with-rapid-development-of-peripheral-models/50)

<div class="topic-metadata">

**Author:** [@michael.dunn](https://discourse.getdbt.com/u/michael.dunn)\
**Replies:** 6\
**Last updated:** [June 13, 2018, 2:30pm UTC](https://discourse.getdbt.com/t/how-to-balance-the-need-for-controlled-development-of-core-models-with-rapid-development-of-peripheral-models/50 "2018-06-13T14:30:25Z")

</div>

I’m struggling to have two different development ideologies coexist within dbt. On the one hand is my team (BI) who is responsible for developing the core data model for the business. Because those core components have…

---

## [How to not lose your mind when auditing data: Part II](https://discourse.getdbt.com/t/how-to-not-lose-your-mind-when-auditing-data-part-ii/612)

<div class="topic-metadata">

**Author:** [@claire](https://discourse.getdbt.com/u/claire)\
**Replies:** 2\
**Last updated:** [April 13, 2020, 2:24pm UTC](https://discourse.getdbt.com/t/how-to-not-lose-your-mind-when-auditing-data-part-ii/612 "2020-04-13T14:24:43Z")

</div>

This article is the second part of a series (I didn’t know I was going to write a Part II, yet, here we are :man\_shrugging:). Read the first part here. TL,DR: The original macros in the audit-helper package were super h…

---

## [Data sync and data quality](https://discourse.getdbt.com/t/data-sync-and-data-quality/8364)

<div class="topic-metadata">

**Author:** [@antoniojpprado](https://discourse.getdbt.com/u/antoniojpprado)\
**Replies:** 0\
**Last updated:** [May 19, 2023, 7:10pm UTC](https://discourse.getdbt.com/t/data-sync-and-data-quality/8364 "2023-05-19T19:10:37Z")

</div>

Hi! I need to perform sync validations, comparing data from the target table with the source one. These are large volume tables, approximately 5T. What strategy and tools do you recommend? Thanks!

---

## [DBT Cloud and Piperider integration](https://discourse.getdbt.com/t/dbt-cloud-and-piperider-integration/5346)

<div class="topic-metadata">

**Author:** [@sktgupta5](https://discourse.getdbt.com/u/sktgupta5)\
**Replies:** 1\
**Last updated:** [December 13, 2022, 2:47am UTC](https://discourse.getdbt.com/t/dbt-cloud-and-piperider-integration/5346 "2022-12-13T02:47:51Z")

</div>

Hi Guys, I am looking for piperider integration with DBT Cloud, as of now it is available for DB Core only. Is there a way we can install the piperider package to out dbt cloud instance and use it for data profiling ? …

---

## [Check recency-source for model in DBT cloud](https://discourse.getdbt.com/t/check-recency-source-for-model-in-dbt-cloud/5411)

<div class="topic-metadata">

**Author:** [@hrvoje](https://discourse.getdbt.com/u/hrvoje)\
**Replies:** 4\
**Last updated:** [December 2, 2022, 1:38am UTC](https://discourse.getdbt.com/t/check-recency-source-for-model-in-dbt-cloud/5411 "2022-12-02T01:38:29Z")

</div>

Hi, I tried to use recency from dbt-utils to check if data is coming as expected to source tables. For example I want to see if there is data at all in source tables for (-70 minutes from now). But whatever parameters …

---

## [Compare two models' schemas](https://discourse.getdbt.com/t/compare-two-models-schemas/3868)

<div class="topic-metadata">

**Author:** [@xzheng](https://discourse.getdbt.com/u/xzheng)\
**Replies:** 2\
**Last updated:** [September 20, 2022, 3:05am UTC](https://discourse.getdbt.com/t/compare-two-models-schemas/3868 "2022-09-20T03:05:53Z")

</div>

Hi All, working on dbt test cases, is there any way we can do schema check? like compare schema between existing model and new source model schema? Thanks alex

---

## [Build snapshot-based tests to detect regressions in historic data](https://discourse.getdbt.com/t/build-snapshot-based-tests-to-detect-regressions-in-historic-data/1478)

<div class="topic-metadata">

**Author:** [@evgeny.r](https://discourse.getdbt.com/u/evgeny.r)\
**Replies:** 3\
**Last updated:** [April 27, 2022, 4:39am UTC](https://discourse.getdbt.com/t/build-snapshot-based-tests-to-detect-regressions-in-historic-data/1478 "2022-04-27T04:39:32Z")

</div>

Every morning your CEO opens up their favorite dashboard. But one particular Monday, she finds that all of the historic revenue figures have changed! Suddenly, your Slack is filling up with messages asking what went wron…

---

## [To replace the null or not replace the null?](https://discourse.getdbt.com/t/to-replace-the-null-or-not-replace-the-null/1597)

<div class="topic-metadata">

**Author:** [@dave-chartio](https://discourse.getdbt.com/u/dave-chartio)\
**Replies:** 4\
**Last updated:** [November 12, 2020, 5:46pm UTC](https://discourse.getdbt.com/t/to-replace-the-null-or-not-replace-the-null/1597 "2020-11-12T17:46:45Z")

</div>

that is my question. When you have nulls in a databse, do you replace them with “unknown” or other values? If so when and why? We’ve been discussing internal. A few notes on it we’ve found so far Kimball Kimball outl…

---

## [How to not lose your mind when auditing data](https://discourse.getdbt.com/t/how-to-not-lose-your-mind-when-auditing-data/445)

<div class="topic-metadata">

**Author:** [@claire](https://discourse.getdbt.com/u/claire)\
**Replies:** 1\
**Last updated:** [September 16, 2019, 10:12am UTC](https://discourse.getdbt.com/t/how-to-not-lose-your-mind-when-auditing-data/445 "2019-09-16T10:12:04Z")

</div>

TL:DR; We’ve got a new package, audit\_helper to help with data audits. Auditing data: my least favorite task in analytics As a data analyst, there’s one task that used to instill more dread in me than any other – auditi…

---

## [Does dbt add primary/foreign key constraints?](https://discourse.getdbt.com/t/does-dbt-add-primary-foreign-key-constraints/315)

<div class="topic-metadata">

**Author:** [@oferk83](https://discourse.getdbt.com/u/oferk83)\
**Replies:** 6\
**Last updated:** [July 11, 2019, 5:30pm UTC](https://discourse.getdbt.com/t/does-dbt-add-primary-foreign-key-constraints/315 "2019-07-11T17:30:27Z")

</div>

Hi there, I’m a newbie to this tool. With what i’ve read and tested so-far I was under the false impression of what the ‘relationships’ method of the testing feature does. I’ve set relationships between tables and when…
