You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
9
+
## [1.2.1] - 2025-09-24
10
+
11
+
### Added
12
+
13
+
- Support for data quality metrics that align with ODCS 3.1
14
+
15
+
### Changed
16
+
- Replaced threshold operators mustBeGreaterThanOrEqualTo with mustBeGreaterOrEqualTo and mustBeLessThanOrEqualTo with mustBeLessOrEqualTo to align with ODCS 3.1, even if it feels wrong...
Copy file name to clipboardExpand all lines: README.md
+53-4Lines changed: 53 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,15 +35,15 @@ The specification comes along with the [Data Contract CLI](https://github.com/da
35
35
Version
36
36
---
37
37
38
-
1.2.0([Changelog](CHANGELOG.md))
38
+
1.2.1([Changelog](CHANGELOG.md))
39
39
40
40
Example
41
41
---
42
42
43
43
View in [Data Contract Catalog](https://datacontract.com/examples/index.html)
44
44
45
45
```yaml
46
-
dataContractSpecification: 1.2.0
46
+
dataContractSpecification: 1.2.1
47
47
id: orders-latest
48
48
info:
49
49
title: Orders Latest
@@ -848,16 +848,17 @@ Data can be verified by executing these checks through a data quality engine.
848
848
849
849
Quality attributes can be:
850
850
- A text in natural language that describes the quality of the data.
851
+
- A predefined metric from the library of commonly used metrics
851
852
- An individual SQL query that returns a single value that can be compared.
852
853
- Engine-specific types: Pre-defined quality checks, as defined by data quality libraries. Currently, the engines `soda` and `great-expectations` are supported.
853
854
854
-
A quality object can be specified on field level and on model level.
855
+
A quality object can be specified on the field level and on the model level.
855
856
The top-level quality object is deprecated.
856
857
857
858
#### Description Text
858
859
859
860
A description in natural language that defines the expected quality of the data.
860
-
This is useful to express requirements or expectation when discussing the data contract with stakeholders.
861
+
This is useful to express requirements or expectations when discussing the data contract with stakeholders.
861
862
Later in the development process, these might be translated into an executable check (such as `sql`).
862
863
It can also be used as a prompt to check the data with an AI engine.
863
864
@@ -929,6 +930,54 @@ models:
929
930
SQL queries allow powerful checks for custom business logic.
930
931
A SQL query should run not longer than 10 minutes.
931
932
933
+
#### Library / Metrics
934
+
935
+
A set of predefined metrics commonly used in data quality checks, designed to be compatible with all major data quality engines. This simplifies the work for data engineers by eliminating the need to manually write SQL queries.
<p>This example demonstrates the usage of the new <strong>time</strong> data type introduced in Data Contract Specification v1.2.0. The time data type is specifically designed for storing time values without date information, making it perfect for business hours, schedules, and time-based data.</p>
114
+
<p>This example demonstrates the usage of the new <strong>time</strong> data type introduced in Data Contract Specification v1.2.1. The time data type is specifically designed for storing time values without date information, making it perfect for business hours, schedules, and time-based data.</p>
0 commit comments