Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit eecf119

Browse files
committed
Create common_use_cases.md
1 parent 729f676 commit eecf119

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/common_use_cases.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Common Use Cases
2+
3+
## joindiff
4+
- **Inspect differences between branches**. Make sure your code results in only expected changes.
5+
- **Validate stability of critical downstream tables**. When refactoring a data pipeline, rest assured that the changes you make to upstream models have not impacted critical downstream models depended on by users and systems.
6+
- **Conduct better code reviews**. No matter how thoughtfully you review the code, run a diff to ensure that you don't accidentally approve an error.
7+
8+
## hashdiff
9+
- **Verify data migrations**. Verify that all data was copied when doing a critical data migration. For example, migrating from Heroku PostgreSQL to Amazon RDS.
10+
- **Verify data pipelines**. Moving data from a relational database to a warehouse/data lake with Fivetran, Airbyte, Debezium, or some other pipeline.
11+
- **Maintain data integrity SLOs**. You can create and monitor your SLO of e.g. 99.999% data integrity, and alert your team when data is missing.
12+
- **Debug complex data pipelines**. Data can get lost in pipelines that may span a half-dozen systems. data-diff helps you efficiently track down where a row got lost without needing to individually inspect intermediate datastores.
13+
- **Detect hard deletes for an `updated_at`-based pipeline**. If you're copying data to your warehouse based on an `updated_at`-style column, data-diff can find any hard-deletes that you may have missed.
14+
- **Make your replication self-healing**. You can use data-diff to self-heal by using the diff output to write/update rows in the target database.

0 commit comments

Comments
 (0)