QUA-1024: Restructure Data Diff check docs#1141
Conversation
Replaces the single data-diff-check.md page with a hub structure under docs/data-quality-checks/data-diff/ (introduction, how-it-works, examples, api, faq, how-to-create). Adds the .anomalous-cell CSS class used by the examples tables, updates cross-links from is-replica-of, overview-of-a-check, rule-types-overview, and operations/profile, and rewires mkdocs.yml nav plus redirects from the old URL.
Greptile SummarySplits the existing
Confidence Score: 5/5Documentation-only restructure; no runtime code is changed, redirects are in place, and all inbound links are updated correctly. All changes are Markdown, CSS, and nav configuration. The hub structure is coherent, cross-links are consistent, and the two legacy redirect entries cover both known old URL patterns. The two open items are documentation clarifications, neither of which would misdirect a reader into a wrong API call. No files require special attention; api.md and faq.md have the minor gaps noted in the comments above. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["POST /api/quality-checks\n(rule: dataDiff)"] --> B["Apply filter clause\nto target container"]
B --> C["Read reference container\nin full"]
C --> D{"Row Identifiers\nconfigured?"}
D -->|Yes| E["Match rows by\nidentifier tuple"]
D -->|No| F["Symmetrical set\ndifference"]
E --> G["Compare fields on\neach matched pair\n(with Comparators)"]
F --> G
G --> H["Assign diff status:\nadded / removed / changed"]
H --> I{"Status in\ndiff_change_types?"}
I -->|Yes| J["Row contributes\nto anomaly count N"]
I -->|No| K["Row computed\nbut suppressed"]
J --> L["Emit single Shape Anomaly\nwith Comparison Source Records"]
K --> L
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A["POST /api/quality-checks\n(rule: dataDiff)"] --> B["Apply filter clause\nto target container"]
B --> C["Read reference container\nin full"]
C --> D{"Row Identifiers\nconfigured?"}
D -->|Yes| E["Match rows by\nidentifier tuple"]
D -->|No| F["Symmetrical set\ndifference"]
E --> G["Compare fields on\neach matched pair\n(with Comparators)"]
F --> G
G --> H["Assign diff status:\nadded / removed / changed"]
H --> I{"Status in\ndiff_change_types?"}
I -->|Yes| J["Row contributes\nto anomaly count N"]
I -->|No| K["Row computed\nbut suppressed"]
J --> L["Emit single Shape Anomaly\nwith Comparison Source Records"]
K --> L
Reviews (2): Last reviewed commit: "docs(data-diff): open how-it-works cross..." | Re-trigger Greptile |
The cross-page link inside the 'Recommended Check' admonition was the
only cross-page reference on the introduction page without the
{:target="_blank"} attribute. Aligns with the four Next Steps cards on
the same page and the cross-references on api.md, faq.md, and
how-it-works.md.
|
Addressed in
Both threads resolved. |
|
Want your agent to iterate on Greptile's feedback? Try greploops. |
Overview
Splits the Data Diff check documentation from a single page into a hub structure with Introduction, How It Works, Examples, API, and FAQ pages.
Key Changes
diff_change_types, and Comparison Source Records renderingdiff_change_types)is-replica-of-check.md,overview-of-a-check.md,rule-types-overview.md,profile.mdrepointed to the new pathextra.css: added.anomalous-cellclass mirroring the source-records highlight in the appmkdocs.yml: nav restructure + redirect mapping from old single-page URLPages to Test
diff_change_typesdifferentiator, 4 Next Steps cardsdiff_change_types: ["removed", "changed"]PUTcan change" admonition with Editable/Immutable lists, payload uses["removed", "changed"]diff_change_types) cross-links to how-it-works, Q13 (PUT editability) consistent with API page/data-diff/introduction/path/data-quality-checks/data-diff/introduction//data-quality-checks/data-diff/introduction/