Skip to content

Docs: Add DQ failure thresholds reference and fix Top Dimensions default - #605

Merged
kiran1287 merged 5 commits into
mainfrom
dq-failure-thresholds
Oct 15, 2026
Merged

kiran1287 merged 5 commits into
mainfrom
dq-failure-thresholds

Conversation

@TeddyCr

@TeddyCr TeddyCr commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Docs part of open-metadata/OpenMetadata#33239 (DQ Threshold W4.1). Parent epic: open-metadata/OpenMetadata#16301.

What changed (v2.1.x-SNAPSHOT)

  • New page: quality/failure-thresholds.mdx (added to the Data Quality nav after Create Quality Test Cases). It covers:
    • threshold / thresholdUnit (ABSOLUTE vs PERCENTAGE), the inclusive comparison, and how the unit options are labelled in the form.
    • Per-test semantics:
      • Row-level tests: what counts as a failing row, and the PERCENTAGE denominator for each test (all rows vs non-null values).
      • Statistical tests: the threshold widens the range or expected value. Includes worked examples.
      • Custom SQL Query: thresholdUnit + operator.
      • Test Library SQL-expression tests: opt in by declaring thresholdUnit.
    • Sampling: PERCENTAGE is sample-stable and ABSOLUTE is not. Covers the Sampled/Partitioned badges, the per-test sampling caveats, and which tests bypass the sampler (Custom SQL Query, Test Library SQL expressions).
    • The zero-bound case for PERCENTAGE on statistical tests.
    • Dimension-level tests: the per-group threshold, the Dimension Failure Policy, the Others group limitation, and Minimum Rows per Dimension.
    • tableRowInsertedCountToBeBetween: its own time window is separate from the profiler partition config.
    • What server-side validation rejects, and how existing test cases behave after the upgrade.
  • create-quality-test-cases.mdx
    • Links to the new page.
    • Column Values To Be At Expected Location was listed as supporting the threshold. Its validator doesn't apply it yet, and the UI warns about this. Corrected.
  • dimensional-validation.mdx
    • The page said the Others group starts after the top 10 dimensions. The default is 5 (DEFAULT_TOP_DIMENSIONS; topDimensions default 5, range 1–50 in testCase.json). Rewritten around the Top Dimensions setting.
    • Adds a note on how the Others group interacts with a failure threshold.

Checks

  • mint broken-links: no broken links.
  • Reviewed against .ai/doc-review/references/checklist.md; no Critical or Major findings.

🤖 Generated with Claude Code

Add a Failure Thresholds page for 2.1 covering per-test threshold semantics,
PERCENTAGE denominators, sampling behavior, tests that bypass the sampler,
the zero-bound case, dimensional roll-up (Others group, Minimum Rows per
Dimension), and the Row Inserted Count window.

Mark Column Values To Be At Expected Location as not applying its threshold,
and correct the Dimensional Validation page, which described the Others group
with a top-10 default; the default is 5 and Top Dimensions accepts 1-50.
@mintlify

mintlify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
openmetadata 🟢 Ready View Preview Oct 15, 2026, 5:26 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@github-actions

Copy link
Copy Markdown
Contributor

Review Report

Content type: Documentation
Overall verdict: PASS
Reason: Previous issues fixed

Reviewed revision: bded138

Findings: Critical=0 Major=0 Minor=0


Issues Found

No issues found.

Previous issue now fixed

Line 190 of dimensional-validation.mdx now reads "which defaults to five". It matches "top five dimensions" and "default of five" elsewhere in the same file.

Inputs are identical to an earlier review on this PR (same policy, diff, discussion, and model), so that report is reposted without a new model call.

View job · claude-sonnet-5-5 (high) · reused (no model call)

@kiran1287
kiran1287 merged commit e9565b0 into main Oct 15, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
staging — 161d7cd1 Deployed Oct 15, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.1 OpenMetadata 2.1 release documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants