Area: UI
Sub-Area: Data Contracts
Applies to: Cloud
Issue
Custom assertion descriptions were not rendered properly in the DATA QUALITY section of a data contract in DataHub Cloud.
You Might Be Asking
- Why aren't my custom assertions showing correctly in a data contract?
- Where do I see custom assertions in a data contract?
- Do I need to refresh or re-run my custom assertions?
Cause
This was a rendering issue in the DATA QUALITY section of a data contract. The release notes describe it as "Custom Assertion descriptions not being rendered properly".
Custom assertions are assertions that DataHub does not natively run or directly model. A third-party framework or tool manages them, for example dbt tests or Great Expectations. They are a different assertion type from Custom SQL assertions, which DataHub runs itself.
Solution
The fix is in DataHub Cloud v0.3.13.2. If your DataHub Cloud version is older, upgrade to the latest release.
To view custom assertions in a data contract:
- Open the dataset's profile page.
- Open the Quality tab, then Data Contract.
- Go to the DATA QUALITY section.
A data contract has SCHEMA, FRESHNESS, DATA QUALITY and PROPERTIES sections. There is no separate Assertions section.
The DATA QUALITY table has two columns, Assertion and Status. For a custom assertion, the Assertion column shows the assertion's description. If the assertion has no description, it shows a structured summary. If there is no summary either, it shows the custom assertion type. The table does not show execution history or configuration details.
If custom assertions still look wrong on the latest release, contact DataHub Support.