Dimensional validation in OpenMetadata data quality tests

Learn how to break OpenMetadata test results down by region, product or customer type, find the failing segment, and pick dimension columns that stay useful over time.

On this page

Why a failing test needs a dimension to be useful

A table-level test that fails tells you the data is wrong somewhere, but not where. When the failure is a null rate, a row count or a value range across an entire table, the owner has to inspect every region, product line and customer type before they know which segment to fix. Dimensional validation narrows that search by running the same test against slices of the data defined by one or more dimension columns, so the result shows which segment is failing and how badly. This is the difference from a table-wide check: the table-wide check answers whether the table passes, while the dimensional view answers which part of the business is affected.

Teams usually need this when a dataset serves several populations with different rules, such as regional tax treatment, product-specific pricing or customer types with separate eligibility logic. A failure that affects one segment can be hidden inside an overall pass rate that looks acceptable, or it can trigger an incident that is routed to the wrong owner. Before you rely on it, confirm in your installed OpenMetadata version which test types accept dimension configuration, which column types can be used as dimensions, and how results for each dimension value are displayed and stored. The documentation for your version is the authority here, and support can differ between releases.

Choose dimension columns that are stable, low in cardinality and owned by a business domain your team can name. A column with thousands of distinct values produces many small slices that are hard to read and expensive to compute, while a column that changes meaning between source systems will make trends misleading. Confirm the column's definition with its data owner and record it in the glossary before wiring it into tests, so that a failing segment leads to someone who can explain it.

How OpenMetadata applies test results to segments

When a test targets one column, the most direct way to find a failing segment is to group its results by a second column, such as region or customer type. Confirm in your release whether the test definition or the UI exposes a grouping option at this level, and how it is configured.

  • Which columns qualify: Categorical fields with a modest number of distinct values, such as region codes or product lines, work best because each value becomes its own result.
  • Where segments appear: Check whether segment results show on the test case page, in the API response, or both, and whether each segment is stored as a separate result entry.
  • Status per segment: Confirm whether each segment carries its own status, row count and failed count, or only the overall status of the test.
  • Edit rights: Confirm who can change the grouping column, because a change alters what the test history means for each segment.

Before relying on this view, introduce one known bad value in a test environment and confirm it appears under the expected group.

Which dimension column type fits which validation goal

This table compares three kinds of candidate dimension columns (low-cardinality categories, higher-cardinality identifiers, and date or partition columns) against the criteria that decide whether they help locate a failing segment. Read each row as a trade-off: the best column answers 'which segment is failing' without producing so many small segments that the results become noise.

Column typeBest validation goalMain riskNoise and null behavior
Low-cardinality category (region, product line)Finding which business segment broke after a load or releaseFew values can hide a problem that affects only part of one valueStable values give readable results; check nulls appear as their own group and need a named owner
Customer type or tierChecking that a rule holds for every commercial segmentSegment sizes can be very uneven, so small segments swing widelySmall segments produce unstable pass rates; set minimum row counts before alerting
Higher-cardinality identifier (customer ID, account, SKU)Pinpointing a specific record or account that failsThousands of segments create many test runs and alertsUsually too noisy for routine dashboards; use for targeted investigation only
Date or partition column (load date, event day)Showing when a failure started and whether it recursPartitions reflect load timing, not business meaningLate-arriving rows shift counts between days; confirm the partition is complete before judging a day
Column with frequent nulls or late-filled valuesRarely a good dimension on its ownNull rows fall into one group and can hide real segment differencesDecide whether nulls mean unknown, not applicable or missing; document the choice before testing
Column that changes meaning over time (renamed regions, reorganized product lines)Comparing segments across long periodsHistorical rows may map to values that no longer existConfirm the mapping with the data owner and keep it stable in the source before using it
Derived bucket (for example, customer size band)Grouping many values into a few stable segmentsThe bucket rules can drift when source logic changesVersion the bucket definition and record its source, so a change is visible in results

Setting up dimensional tests in your OpenMetadata instance

This sequence takes a table from version check to segment-level results on its asset page, so the team can see which region, product or customer type is failing. Each step ends with a check that confirms the previous step worked before the next one begins.

  1. Confirm the version and available test definitions

    The platform engineer confirms which OpenMetadata version the instance runs and checks the test definitions available in the Test Library for that version. Dimensional settings and the test types that accept them can differ between releases, so confirm them against the release notes for your version before planning the tests. The steps close when the team has a written list of the test definitions it will use and the version they were checked against. Check the release notes at the OpenMetadata 2.0 release page if you run 2.0.x, and confirm the rest with your own installed version.

  2. Profile the target table

    A data engineer runs the profiler on the target table so OpenMetadata holds current column statistics such as null counts, distinct values and value ranges. Profiling shows which candidate columns have a manageable number of distinct values, which matters because each value becomes its own result group. Confirm the profiler configuration and sampling settings with your platform team, since the 2.0 default is Dynamic Sampling and your table size may call for a different setting. The step is done when the profile appears on the asset page with a recent timestamp and column statistics for the candidate columns.

  3. Choose and validate dimension columns with the data owner

    The data engineer and the table owner agree on two or three dimension columns, such as region, product line or customer type, and check each one against the profile. A good candidate has a stable set of values, few nulls and a clear business meaning, and the owner confirms that the values match how the business reports. Record the agreed columns, their expected values and the owner's sign-off in the test plan. The step is complete when the owner approves the list and the team has confirmed that no candidate is a free-text or high-cardinality field.

  4. Define the test case with dimension settings

    The data engineer creates the test case on the target table or column, selects the test definition from step one, sets its parameters and adds the agreed dimension column in the dimensional settings. The test should use the same thresholds as the non-dimensional version so that segment results can be compared with the overall result. Store the definition in a version-controlled file if your team manages tests as code. The step closes when the test is saved and the UI or API shows the dimension column attached to the test case.

  5. Run the test and review the overall result

    The data engineer runs the test case once, either from the UI or through the scheduled workflow, and confirms that the overall result is recorded with a pass or fail status. Check the run logs for errors such as missing permissions on the dimension column or a query timeout on a large table. A failed run with a clear error message is still useful at this point because it shows the configuration is reaching the table. The step is done when the run completes and the overall result appears in the test history.

  6. Check that segment results appear on the asset page

    The data engineer opens the asset page for the table and confirms that results are broken down by each value of the dimension column. The owner checks that the segment names and counts match the values agreed in step three and that the segments add up to the overall total. If a segment is missing or a value shows as unexpected, fix the dimension configuration before alerting anyone. The sequence is complete when the team has a reviewed segment view that matches the agreed design and the owner accepts it as the baseline for monitoring.

How to choose dimension columns that stay useful

A dimension column earns its place only when every value in it means the same thing to the people who own the data. Before you configure a segmented test, confirm with the data owners what region, product_line or customer_type is supposed to represent, which source system sets it, and whether a value such as "EMEA" or "Enterprise" has one agreed definition across teams. A column that is well populated but loosely defined will produce segments that look precise and cannot be explained when they fail. Check stability too: a column that is re-keyed, renamed or reclassified every quarter will break historical comparisons, so ask whether the values are assigned at the source and how often their meaning changes.

Cardinality is the main practical constraint. Broad segments such as a handful of regions can hide a failure confined to one country or one customer tier, because a large healthy majority dilutes the problem below the test threshold. Fine segments, such as thousands of customer IDs, split the data into groups so small that normal volume swings trigger failures and the alert queue fills with noise. Aim for segments that each hold enough rows to make the result meaningful, and keep the number of segment values bounded so the results stay readable. Test a candidate column against recent data to see how many segments it creates and how many rows each one holds before you commit to it.

Decide how nulls and late-arriving values are handled before the first run, not after the first failure. Choose whether nulls form their own segment, such as unknown, or whether they are excluded and reported separately, and record that choice with the owners. Late-arriving records can move a value from one segment into another after the test has run, so confirm the load window and the freshness of the source. Before rollout, hold a short review with the owners of each dimension and the consumers of the affected tables. Use it to confirm definitions, expected segment sizes, null handling and who receives alerts for each segment. Confirm the exact configuration options for your OpenMetadata version against its documentation.

Trade-offs that change how much dimensional testing costs to run

Dimensional tests multiply the work a single quality rule creates, because each dimension value becomes its own check. The cards below cover the trade-offs that decide how much compute, noise and ongoing upkeep a dimensional setup adds, and who answers for the results.

Query cost on large tables

Each dimension column adds a grouped scan on top of the base test, so a rule that runs once per table can run once per segment. Check the row count and partitioning of the table before choosing a dimension, and confirm with your warehouse team how grouped test queries are billed and whether they can run during off-peak windows. Compare the cost of a full-table scan against a partition-limited check on a sample of recent data.

Alert volume from many segments

A failing rule that splits into dozens of segments can open dozens of incidents or notifications for one underlying problem. Decide in advance whether alerts fire per segment, per dimension column or as a single summary, and test that routing on a copy of the data. Set a threshold for how many failing segments must exist before a page goes out, so an outage in one region does not bury the owners of the others.

False alarms from small segments

A segment with only a few hundred rows can fail a percentage-based rule on normal variance alone. Before enabling a test, review the row count of every candidate segment and exclude or merge those below a minimum you agree with the data owner. Document the minimum next to the test so reviewers understand why a small segment is skipped rather than silently ignored.

Upkeep when dimension values change

Product lines, sales regions and customer types change as the business changes, and new values may fall outside a test that lists them explicitly. Decide whether the test follows the distinct values in the column automatically or uses a fixed list maintained by someone. Assign an owner for the value list and a review date, because a stale list either misses new segments or keeps checking retired ones.

Governance of who adds dimensions

Any editor who can attach a new dimension column can multiply the number of checks and the cost of running them. Decide which roles may propose dimension columns, who approves them and where the approval is recorded. Review the permission model in OpenMetadata's security documentation so that test creation rights match the same controls you apply to other production changes.

OpenMetadata security docs

Ownership of failing segments

A failing segment is only useful if a named person knows it belongs to them. Map each dimension value to a team, such as a regional operations lead or a product owner, and record that mapping on the asset so routing does not depend on memory. Agree who investigates when a segment belongs to no one, because unowned failures tend to stay open the longest.

Questions teams ask before running dimensional validation

How much effort does it take to add dimensions to existing data quality tests?

For most teams the effort is mainly in choosing dimension columns and checking them, not in changing the tests themselves. Each test that gets a dimension needs a column that is stable, low to moderate in cardinality, and populated consistently. Engineers then check that the segment results make sense before anyone acts on them. The total effort grows with the number of tests you change, how many candidate columns you review, and how much of the source data has gaps or inconsistent codes. Ask any partner to size the work by listing the tables, tests and candidate dimensions in scope, since that list drives the estimate far more than the feature itself.

What does dimensional validation need from data owners?

Data owners decide which segments matter and what a failure in each one means. They confirm the business meaning of region, product or customer type values, identify which codes are retired or mapped, and agree on who is notified when a segment fails. Owners also help set thresholds, since a 2 percent drop in one region may be normal and in another may be serious. Plan for these reviews before the build starts, because a dimension that engineers picked without owner input often produces alerts nobody can act on. Ask the owner to sign off on the dimension list in writing.

Can an internal team set up dimensional validation alone?

Yes, if the team already runs OpenMetadata and has engineers who know the source tables and the data quality test framework. OpenMetadata is released under the Apache License 2.0, so the software itself carries no license fee, and the work is configuration, test design and review. Teams without a dedicated data quality or catalog engineer often find the dimension selection and owner alignment take longer than expected. A partner can handle the build and documentation while your team keeps ownership of the segments and alerts. Decide early which parts you will own after handover.

What drives the cost of dimensional validation up or down?

Four factors drive most of the cost: table size, the number of dimensions, the number of tests, and the number of source systems involved. Large tables can make segmented checks slower and heavier on the warehouse, which affects infrastructure as well as engineering time. Each added dimension multiplies the result sets to review and the alerts that might fire. Cost also depends on data quality: inconsistent codes and missing values add mapping work. When you request a quote, ask the provider to itemize the tables, tests, dimensions and owner reviews, and to state which items are one-time setup and which recur as maintenance.

How long does a dimensional validation rollout usually take?

Duration depends on scope: how many tables and tests are covered, how many dimensions are added, and how quickly owners can review the segment lists. A narrow rollout on a few critical tables with one or two dimensions moves much faster than a rollout across a whole warehouse. No duration is fixed by the software, so ask for a timeline tied to a written scope with phases for dimension selection, owner review, build, verification and handover. Ask which phases depend on people outside the project, because those often set the pace.

How do we ask a partner for a quote?

Send a written scope that lists the OpenMetadata version you run, the tables and existing tests in scope, the candidate dimension columns with their expected values, the alert recipients, and the environments where the work runs. Ask for deliverables, acceptance checks and who signs off each one. DeployOpen works from a written scope, and most engagements are fixed-scope, so the quote follows from the document you provide. Ask the provider to separate setup work from ongoing support, and to state what your team must supply, such as access, owner availability and test data.

Which dimension columns make sense to use for segmented tests?

Good dimension columns have a stable business meaning, a manageable number of distinct values, and consistent population across the data. Region, product line and customer type often qualify, while free-text fields and high-cardinality IDs usually do not. Test each candidate against recent data to see how many rows fall into each value and how many rows are null. Confirm the choice with the data owner before building tests on it. For illustrative purposes, a customer type column with five stable values is usually easier to govern than one with hundreds of free-text entries.

How a dimensional test moves from definition to segment alert

The flow starts with a test definition in OpenMetadata that names a dimension column, such as region, product or customer type. The test runs as SQL inside the source database, so only aggregated results cross the trust boundary and reach the catalog. OpenMetadata stores results per segment against the table, and the failing segment's owner receives the incident or alert. Check that the dimension column is stable and well populated, and feed what the owner learns back into the choice of dimension.

Dimensional test flow from definition to owner alert, with the trust boundary marked.

Running dimensional tests after go-live

Once dimensional tests are live, the main ongoing task is keeping the dimension values current. Each time a new region, product line or customer type is launched, or an old one is merged or closed, the set of segments the test covers can drift from the data. Review the distinct values of each dimension column on a fixed schedule, owned by the data steward for that domain, and compare them with the reference list your business teams maintain. A new value that appears in the source but not in your segment list is a coverage gap, and a value that no longer receives rows is a stale segment. Decide in advance who approves adding or retiring a segment, and record that decision with the test definition so the reason is visible later. Confirm with your own team how your source systems publish new codes, since a rename upstream can look like a retired segment and a new one at the same time.

Handling new and retired segments needs a deliberate rule, not an ad hoc edit. When a new value appears, add it to the test configuration before the next load so its failures are visible from the first run, and check whether the existing thresholds still make sense for a segment with a small row count. When a segment is retired, do not delete its history. Disable or archive the segment-level test so the trend stays readable, and confirm that the parent test still passes against the remaining segments. Segment failures should flow into the same incident process your team uses for other quality failures. The sibling topics on the Incident Manager and on alert routing explain how to assign an owner, set severity and route notifications, so align the dimension owner with the incident owner for each segment before go-live rather than during an outage.

Plan for upgrades explicitly. OpenMetadata 2.0.0 was released on August 24, 2026, and its release notes list breaking changes and changes to the profiler, including Dynamic Sampling becoming the profiler default. Profiler behavior can change which rows and values are seen, so a segment that passed before an upgrade may fail after it, or the reverse. Before upgrading any environment, compare your dimensional test results on a staging copy against the 2.0 release notes, and confirm the migration steps for any dependent components, such as Great Expectations 1.3 where your tests depend on it. Record the baseline pass and fail counts per segment before the upgrade so the comparison afterward is concrete. Confirm the exact behavior with the release notes for your target version rather than assuming it carries over unchanged.

How DeployOpen scopes and delivers dimensional validation

Dimensional validation work succeeds or stalls on decisions made before any test is written: which segments matter, who owns them, and what a failure should trigger. The cards below follow the engagement from written scope through handover, with the client's data owners and their own OpenMetadata instance at the center.

Written scope with data owners

The engagement starts with a written scope agreed with the data owners of each table under test, not only the platform team. The scope names the tables, the quality dimensions being checked, the segments to break results down by, and the teams who receive alerts. Ask for the scope to state what is out of bounds, such as tables that will not be tested in this phase, so the boundary is clear before work begins.

Dimension selection workshop

Choosing dimension columns is a business decision as much as a technical one. DeployOpen works with the data owners to shortlist columns such as region, product line or customer type, then checks each candidate for cardinality, null rate and stability over time. A column that changes meaning between source systems or is populated inconsistently will produce segments that look like failures but are artifacts of the data.

Tests built in your instance

Dimensional tests are implemented in the client's own OpenMetadata deployment, inside the client's infrastructure, so the definitions, results and history stay under the client's control. Test definitions are reviewed in the same change process the client uses for other code. Ask which team will hold edit rights to test definitions after handover, since that decides who can change a segment rule in production.

Verification against known failures

Before handover, each dimensional test is checked against data where the expected result is known, including a segment that was deliberately affected in a non-production copy. This confirms that a failing segment is reported under the right dimension value and that passing segments do not mask it. Ask for the verification record to list each test, the input used and the observed result.

Alert routing checks

A segment failure is only useful if it reaches the owner of that segment. DeployOpen confirms that each dimension value maps to a responsible team and that the alert route, incident owner and escalation path are tested end to end. Confirm with your own teams how they want segment-level alerts grouped, so a single upstream issue does not create a flood of separate notifications.

Documentation and support handover

The handover package covers the test catalog, the dimension choices and the reasons behind them, the operating runbook and the change process for adding a segment. A support option can be agreed in writing for questions after handover or for later additions. Ask for the handover to name who maintains the documentation and how it is kept current when source schemas change.

OpenMetadata deployment docs

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.