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
{{ message }}
Repository navigation
Commit 08881a2
Browse filesBrowse the repository at this point in the historyBrowse files
Align lint and quality rules with current ODCS (#1859)
* Apply every operator of a quality rule that combines several
* Update the bundled ODCS 3.1.0 and 3.2.0 schemas from upstream main, so lint accepts rules that combine operators, and drop the blob extension
* Name the compared value in every comparison of a threshold, and the Excel warning about rules with several operators
* Reference the PR in the changelog entries
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
### Added
11
11
-`datacontract test` and `datacontract import sqlserver` sign in to SQL Server with an Entra ID access token read from a file (`DATACONTRACT_SQLSERVER_AUTHENTICATION=token`, `DATACONTRACT_SQLSERVER_TOKEN_FILE_PATH`) (#1830@SreeramaYeshwanthGowd)
12
12
13
+
### Changed
14
+
-`datacontract lint` and `test` reject the schema `logicalType: blob`, which ODCS does not allow (#1859)
15
+
13
16
### Fixed
14
17
-`datacontract test` checks the constraints and quality rules of nested properties (struct fields and array items) on Dremio servers
15
18
-`datacontract test` finds tables in Postgres schemas with upper case letters, such as `"Reporting"`
16
19
-`datacontract test` checks the other columns of a Postgres table with a column of a type ibis cannot read, such as `regclass`
17
20
- The CLI no longer fails with `UnicodeEncodeError` when its output is piped on Windows
18
21
-`datacontract import postgres` and `import sql` no longer map bit strings of more than one bit (`bit(8)`, `bit varying`) to `boolean`
22
+
-`datacontract lint` accepts the ids and references the current ODCS v3.1.0 schema allows, such as ids with `:` and shorthand references with `-` (#1859)
23
+
-`datacontract lint` accepts quality rules that combine several operators, such as `mustBeGreaterThan` with `mustBeLessThan`, and `test`, `breaking`, `dbt sync` and `export sodacl` apply every one of them; `export excel` warns about the ones it cannot hold (#1859)
0 commit comments