Skip to content

Commit 3b5d9a5

Browse files
committed
udpate #5, #6
1 parent c573df4 commit 3b5d9a5

File tree

16 files changed

+251
-129
lines changed

16 files changed

+251
-129
lines changed

docs/1-whats-recce/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ Recce helps teams catch issues early, understand the impact of changes, and buil
7676

7777
Recce gives you a clear, fast way to understand what your data changes are doing and why they matter. It helps you catch problems early, verify metrics, and share your findings with others, all as part of your normal workflow.
7878

79-
![Lineage graph supports model/column levels navigation and breaking change analysis](../assets/images/home/lineage-readme1.png)
79+
![Lineage graph supports model/column levels navigation and breaking change analysis](../assets/images/1-whats-recce/lineage-readme1.png)
8080

8181
Lineage graph supports model/column levels navigation and breaking change analysis.
8282

83-
![Model and column level diff](../assets/images/home/diff-readme2.png)
83+
![Model and column level diff](../assets/images/1-whats-recce/diff-readme2.png)
8484

8585
Model and column level diff
8686

87-
![Checklist for collaboration](../assets/images/home/checklist-readme3.png)
87+
![Checklist for collaboration](../assets/images/1-whats-recce/checklist-readme3.png)
8888

8989
Checklist for collaboration
9090

docs/2-getting-started/get-started-jaffle-shop.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,16 @@ Jaffle Shop is an example project officially provided by [dbt Labs](https://www.
7575
recce server
7676
```
7777
Open the link http://0.0.0.0:8000, you can see the lineage diff
78-
![Lineage diff](../assets/images/jaffle-shop/jaffle_shop_lineage.png)
78+
![Lineage diff](../assets/images/2-getting-started/jaffle_shop_lineage.png)
7979
8. Switch to the **Query** tab, run this query
8080
```sql
8181
select * from {{ ref("orders") }} order by 1
8282
```
8383
Click the `Run Diff` or press `Cmd + Shift + Enter`
8484
Click on the 🔑 icon next to the `order_id` column to compare records that are uniquely identified by their `order_id`.
85-
![Query in Recce](../assets/images/jaffle-shop/jaffle_shop_query.png)
85+
![Query in Recce](../assets/images/2-getting-started/jaffle_shop_query.png)
8686
9. Click the `+` to add the query result to checklist
87-
![Add query to checklist](../assets/images/jaffle-shop/jaffle_shop_check.png)
87+
![Add query to checklist](../assets/images/2-getting-started/jaffle_shop_check.png)
8888

8989
## What’s Next
9090
By following this DuckDB tutorial, you’ve seen how Recce works locally.

docs/2-getting-started/installation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ A correctly configured setup will display two environments:
9393
- **Current** – the schema for the environment under development (e.g., staging or dev)
9494

9595
This confirms that both the artifacts and schemas are properly connected for diffing.
96-
![Environment Info](../assets/images/configure-diff/environment-info.png)
96+
![Environment Info](../assets/images/shared/environment-info.png)
9797

9898

9999
## Start with dbt Cloud
@@ -160,18 +160,18 @@ To compare the data models between two environments, you need to download the db
160160
161161
#### Login to your dbt Cloud account
162162
163-
![dbt Cloud login](../assets/images/dbt-cloud/login-dbt-cloud.png)
163+
![dbt Cloud login](../assets/images/shared/login-dbt-cloud.png)
164164
165165
#### Go to the project you want to compare
166166
167-
![dbt Cloud login](../assets/images/dbt-cloud/select-run-job.png)
167+
![dbt Cloud login](../assets/images/shared/select-run-job.png)
168168
169169
#### Download the dbt artifacts
170170
171171
Download the artifacts from the latest run of both run jobs. You can download the artifacts from the `Artifacts` tab.
172172

173-
![dbt Cloud login](../assets/images/dbt-cloud/prod-artifacts.png)
174-
![dbt Cloud login](../assets/images/dbt-cloud/dev-artifacts.png)
173+
![dbt Cloud login](../assets/images/shared/prod-artifacts.png)
174+
![dbt Cloud login](../assets/images/shared/dev-artifacts.png)
175175

176176
### Set up the dbt artifacts folders
177177

docs/2-getting-started/start-free-with-cloud.md

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,26 @@ title: Start free with Cloud
88

99
👉 **[Start Free →](https://cloud.reccehq.com)**
1010

11-
## Step 1: Choose Your Starting Point
11+
## Step 1: Get Ready to Launch Recce
1212

13-
Once you sign up, you'll see three options to launch Recce:
14-
15-
### Option A: Connect Your PR
16-
17-
- **Best if**: You have a current PR and GitHub permissions
18-
- **You get**: List all your PRs and validate any of them
19-
- **Setup**: Connect GitHub (installs Recce app)
20-
- **Immediate value**: See all PRs ready for validation
21-
-**You'll know it's working when**: Your PRs appear in a the project
22-
23-
### Option B: Upload Your Artifacts
13+
### Upload your artifacts
2414

2515
- **Best if**: You want to try without GitHub permissions
2616
- **You get**: Launch Recce with your actual dbt project
2717
- **Setup**: Upload your development and production artifacts locally
2818
- **Immediate value**: See your real project lineage and metadata diffs
2919
-**You'll know it's working when**: Your modesl appear in the lineage graph
3020

31-
### Option C: Try Sample Data
21+
<br>
22+
If you don't have a dbt project, you can just click "Launch" to see the Jaffle Shop sample project loaded.
3223

33-
- **Best if**: You don't have a dbt project ready
34-
- **You get**: Experience Recce with sample data
35-
- **Setup**: Just click "Launch"
36-
- **Immediate value**: Explore all Recce features risk-free
37-
-**You'll know it's working when**: You see the Jaffle Shop sample project loaded
24+
### Connect to view all your PR
25+
26+
- **Best if**: You have a current PR and GitHub permissions
27+
- **You get**: List all your PRs and validate any of them
28+
- **Setup**: Connect GitHub (installs Recce app) and upload your PR snapshots
29+
- **Immediate value**: See all PRs and do validation
30+
-**You'll know it's working when**: Your PRs appear in a the project
3831

3932
## Step 2: Launch Recce → See Metadata Diffing
4033

@@ -72,7 +65,6 @@ Once you sign up, you'll see three options to launch Recce:
7265
-**Team workflows** - standardized validation across team
7366
-**PR blocking** - prevent bad changes from merging
7467

75-
7668
## What's Next?
7769

7870
After launching Recce, explore:

docs/3-view-modified/lineage.md

Lines changed: 118 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,89 +2,172 @@
22
title: Lineage Diff
33
---
44

5-
The Lineage Diff is the main interface to Recce and allows you to quickly see the potential area of impact from your dbt data modeling changes.
5+
# Understanding Lineage Diff
66

7-
## Lineage Diff
7+
The Lineage view is Recce's main interface for visualizing and analyzing how your dbt model changes impact your data pipeline. It shows you the potential area of impact from your modifications, helping you determine which models need further investigation and validation.
88

9-
It's from the Lineage Diff that you will determine which models to investigate further; and also perform the various data validation checks that will serve as proof-of-correctness of your work.
9+
## What is Data Lineage?
10+
11+
Data lineage tracks the flow and transformation of data through your dbt project. In Recce, the lineage graph shows:
12+
13+
- **Dependencies**: Which models depend on others
14+
- **Change Impact**: How modifications ripple through your pipeline
15+
- **Data Flow**: The path data takes from sources to final outputs
16+
17+
## Viewing the Lineage Graph
18+
19+
From the Lineage view, you can determine which models to investigate further and perform various data validation checks that serve as proof-of-correctness of your work.
20+
21+
<figure markdown>
22+
![Recce Lineage Diff](../assets/images/3-view-modified/lineage-diff.gif){: .shadow}
23+
<figcaption>Interactive lineage graph showing modified models</figcaption>
24+
</figure>
25+
26+
!!! tip "Getting Started"
27+
When you first open Recce, the lineage graph automatically loads showing only the models affected by your changes. This focused view helps you quickly understand the impact of your work.
28+
29+
## Understanding Model Nodes
30+
31+
### Visual Status Indicators
1032

1133
<figure markdown>
12-
![Recce Lineage Diff](../assets/images/features/lineage-diff.gif){: .shadow}
13-
<figcaption>Lineage Diff</figcaption>
34+
![Node example](../assets/images/3-view-modified/node.png){: .shadow}
35+
<figcaption>Example model node with status indicators</figcaption>
1436
</figure>
1537

16-
### Node Summary
38+
Models in the lineage graph are **color-coded** to indicate their status:
1739

18-
![](../assets/images/features/node.png){: .shadow}
40+
- **Green**: Added models (new to your project)
41+
- **Red**: Removed models (deleted from your project)
42+
- **Orange**: Modified models (changed code or configuration)
43+
- **Gray**: Unchanged models (shown for context)
1944

20-
Models are color-coded to indicate their **status**:
45+
### Change Detection Icons
2146

22-
- `Added` models are green.
23-
- `Removed` models are red.
24-
- `Modified` models are orange.
47+
Each model node displays two icons in the bottom-right corner that indicate detected changes:
2548

26-
The two icons at the bottom right of each node indicate if a `row count` or `schema` change has been detected. Grayed out icons indicate no change.
49+
- **Row Count Icon** : Shows when row count differences are detected
50+
- **Schema Icon** : Shows when column or data type changes are detected
51+
52+
Grayed-out icons indicate no changes were detected in that category.
2753

2854
<figure markdown>
29-
![Model with Schema Change detected](../assets/images/features/model-schema-change-detected.png){: .shadow}
55+
![Model with Schema Change detected](../assets/images/3-view-modified/model-schema-change-detected.png){: .shadow}
3056
<figcaption>Model with Schema Change detected</figcaption>
3157
</figure>
3258

33-
**Note**: A row count changed icon is only shown if there is row count diff executed on this node.
59+
!!! note "Row Count Detection"
60+
The row count icon only appears after you've run a row count diff on that specific model. This helps you track which models you've already validated.
3461

3562
<figure markdown>
36-
![Open node details panel](../assets/images/features/node-details-panel.gif){: .shadow}
63+
![Open node details panel](../assets/images/3-view-modified/node-details-panel.gif){: .shadow}
3764
<figcaption>Open the node details panel</figcaption>
3865
</figure>
3966

40-
Click a model to open the [node details](#node-detail) panel and perform other data validation checks.
67+
## Investigating Model Changes
68+
69+
### Opening the Node Details Panel
70+
71+
Click on any model in the lineage graph to open the node details panel. This is your starting point for deeper analysis.
4172

4273

4374
## Schema Diff
4475

45-
Schema Diff shows added, removed, and renamed columns. Click a model in the Lineage Diff to open the node details and view the Schema Diff.
76+
Schema diff helps you understand structural changes to your models.
77+
78+
!!! warning "Requirements"
79+
Schema diff requires `catalog.json` files in both your base and current environments. Make sure to run `dbt docs generate` in both environments before starting your Recce session.
4680

47-
!!! Note
81+
### Viewing Schema Changes
4882

49-
Schema Diff requires `catalog.json` in both environments.
83+
Click on a model to view its schema diff in the node details panel.
5084

5185
<figure markdown>
52-
![Recce Schema Diff](../assets/images/features/schema-diff.gif){: .shadow}
53-
<figcaption>Schema Diff</figcaption>
86+
![Recce Schema Diff](../assets/images/3-view-modified/schema-diff.gif){: .shadow}
87+
<figcaption>Interactive schema diff showing column changes</figcaption>
5488
</figure>
5589

90+
### Types of Schema Changes
91+
92+
Schema diff identifies:
93+
94+
- **Added columns**: New fields in your model (shown in green)
95+
- **Removed columns**: Fields that no longer exist (shown in red)
96+
- **Renamed columns**: Fields that have changed names (shown with arrows)
97+
- **Data type changes**: Modifications to column types
98+
5699
<figure markdown>
57-
![Recce Schema Diff](../assets/images/features/schema-diff.png)
58-
<figcaption>Schema Diff showing renamed column</figcaption>
100+
![Recce Schema Diff](../assets/images/3-view-modified/schema-diff.png){: .shadow}
101+
<figcaption>Schema diff showing renamed column</figcaption>
59102
</figure>
60103

61104

62105
## Code Diff
63106

64-
Examine the specific code changes to understand the nature of the modifications.
107+
Understanding the code changes helps you analyze the root cause of data differences.
108+
109+
From any model's node details panel, you can view the exact code changes that were made. This helps you understand:
65110

66-
Learn more [here](code-diff.md)
111+
- What SQL logic was modified
112+
- How transformations changed
113+
- Why data differences might be occurring
114+
115+
Learn more about viewing and analyzing code changes in the [Code Diff guide](code-diff.md).
67116

68117

69118
## Node Details
70119

71-
The node details panel shows information about a node, such as node type, schema and row count changes, and allows you to perform diffs on the node using the options accessed via the `Explore Change` button.
120+
### Node Details Overview
121+
122+
The node details panel provides comprehensive information about the selected model:
72123

73124
<figure markdown>
74125
![Explore the model](../assets/images/3-view-modified/explore-the-model.png){: .shadow}
75-
<figcaption>Explore the model</figcaption>
126+
<figcaption>Node details panel with exploration options</figcaption>
76127
</figure>
77128

78-
You can click "Query" to jump to Query of this model.
79-
There are few pre-defied diff that saved your time on writing SQL snippets.
129+
From this panel, you can:
130+
131+
- **View model information**: Node type, materialization, and basic metadata
132+
- **Examine changes**: See what specifically changed in the model
133+
- **Run validations**: Execute pre-built data diffs and custom queries
134+
- **Add to checklist**: Document important findings for review
135+
136+
### Available Data Validation Checks
137+
138+
Click the "Explore Change" button to access pre-built validation checks that save time on writing SQL:
139+
140+
1. **[Row Count Diff](../5-data-diffing/row-count-diff.md)**: Compare the number of rows between environments
141+
2. **[Profile Diff](../5-data-diffing/profile-diff.md)**: Analyze column-level statistics and distributions
142+
3. **[Value Diff](../5-data-diffing/value-diff.md)**: Identify specific value changes between datasets
143+
4. **[Top-K Diff](../5-data-diffing/topK-diff.md)**: Compare the most common values in your data
144+
5. **[Histogram Diff](../5-data-diffing/histogram-diff.md)**: Visualize data distribution changes
145+
146+
### Custom Query Analysis
147+
148+
Click "Query" to open the query interface where you can:
149+
150+
- Write custom SQL to investigate changes
151+
- Run ad-hoc comparisons between environments
152+
- Validate specific business logic or data quality rules
153+
154+
## Building Your Validation Checklist
155+
156+
As you investigate changes, you can add important findings to your checklist for documentation and collaboration purposes.
157+
158+
!!! tip "Collaboration Best Practice"
159+
Use the checklist feature to document your validation process. This creates a clear record of what you've tested and verified, making it easier for teammates to review your changes.
160+
161+
## Next Steps
162+
163+
After reviewing the lineage changes:
80164

81-
1. Row Count Diff: shows the difference in row counts. [Learn more here](./5-data-diffing/row-count-diff.md)
82-
2. Profile Diff
83-
3. Value Diff
84-
4. Top-K Diff
85-
5. Histogram Diff
165+
1. **Validate**: Run data diffs on critical models to verify changes are correct
166+
2. **Document**: Add key findings to your checklist with clear descriptions
167+
3. **Collaborate**: Share your analysis with team members for review
168+
4. **Integrate**: Use Recce's workflow integration to automate validation in your CI/CD process
86169

87-
You can add the Lineage Diff of this model to the checklist.
170+
Ready to dive deeper into specific validation techniques? Explore the [Data Diffing](../5-data-diffing/row-count-diff.md) section to learn about different ways to validate your changes.
88171

89172

90173

docs/4-downstream-impacts/transformation-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The transformation type is also displayed for each column, which will help you u
1717

1818
## Impact Radius of a Column
1919

20-
The **right side of the Column-Level Lineage (CLL)** graph represents the **impact radius** of a selected column.
20+
The **right side of the [Column-Level Lineage](../3-view-modified/column-level-lineage.md) (CLL)** graph represents the **impact radius** of a selected column.
2121
This view helps you quickly understand what will be affected if that column changes.
2222

2323
### What does the impact radius include?

docs/6-collaboration/checklist.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: Checklist
3-
icon: material/playlist-check
43
---
54

65
# Checklist
@@ -10,31 +9,31 @@ Save your validation checks to the Recce checklist with a description of your fi
109
These checks can later be added to your pull request comment as proof-of-correctness for your modeling changes.
1110

1211
<figure markdown>
13-
![Recce Checklist](../assets/images/features/checklist.png)
12+
![Recce Checklist](../assets/images/6-collaboration/checklist.png)
1413
<figcaption>Checklist</figcaption>
1514
</figure>
1615

17-
## Add to Checklist
18-
19-
The Recce Checklist provides a way to record the results of a data check during change exploration. The purpose of adding Checks to the Checklist is to enable you to:
20-
21-
- Save Checks with notes of your interpretation of the data.
22-
- Re-run checks following further data modeling changes.
23-
- Share Checks as part of PR or stakeholder review.
2416

25-
### Diffs performed via the Explore Change dropdown menu
17+
## Diffs performed via the Explore Change dropdown menu
2618

2719
For the majority of diffs, which are performed via the Explore Change dropdown menu, the Check can be added by clicking the Add to Checklist button in the results panel:
2820

2921
<figure markdown>
30-
![Add a Check by clicking the Add to Checklist button in the diff results panel](../assets/images/features/add-to-checklist-button.png){: .shadow}
22+
![Add a Check by clicking the Add to Checklist button in the diff results panel](../assets/images/6-collaboration/add-to-checklist-button.png){: .shadow}
3123
<figcaption>Add a Check by clicking the Add to Checklist button in the diff results panel</figcaption>
3224
</figure>
3325

3426
An example performing a Top-K diff and adding the results to the Checklist:
3527

3628
<figure markdown>
37-
![Example adding a Top-K Diff to the Checklist](../assets/images/features/add-to-checklist.gif){: .shadow}
29+
![Example adding a Top-K Diff to the Checklist](../assets/images/6-collaboration/add-to-checklist.gif){: .shadow}
3830
<figcaption>Example adding a Top-K Diff to the Checklist</figcaption>
3931
</figure>
4032

33+
## Add to Checklist
34+
35+
The Recce Checklist provides a way to record the results of a data check during change exploration. The purpose of adding Checks to the Checklist is to enable you to:
36+
37+
- Save Checks with notes of your interpretation of the data.
38+
- Re-run checks following further data modeling changes.
39+
- Share Checks as part of PR or stakeholder review.

0 commit comments

Comments
 (0)