Library /
Contract Enterprise
Quality contract
With the Enterprise Data quality module, an ODCS null-value rule on a column becomes a proposed Nistor check.
Use it when A contract already states quality rules and you want them run as Nistor checks.
apiVersion: v3.1.0
kind: DataContract
id: 3b1d6c52-shipments-v2
name: parcel_shipments
version: 2.3.0
status: active
domain: logistics
schema:
- name: parcel_shipments
physicalName: shipments_v2
physicalType: table
logicalType: object
properties:
- name: weight_kg
physicalType: NUMERIC
logicalType: number
description: Declared parcel weight.
required: true
quality:
- type: library
metric: nullValues
dimension: completeness
mustBe: 0
Taken from packages/integrations/odcs/tests/data/shipments.odcs.yaml
The nullValues rule says weight_kg may hold no nulls. Nistor Open Source stores the rule with the contract and
gives the contract a quality dimension. With the Data quality module, part of Nistor Enterprise, the import proposes
the rule as a Nistor check that counts the rows where the column is null, and a person reviews the proposal before it
runs. The quality dimension is then measured from the asset's data-quality runs.
Feeds fromODCS contractsGoogle Cloud