`-- NOT ENFORCED` read as a guarantee (generated DDL)
https://knobit.org/id/knobit/K-807
Also as Turtle · JSON-LD · RDF/XML · AI benchmark on Skilirium
| Context functions | Result evaluation |
|---|---|
| Knobit creation methods | AI generated, human edited |
| Knobit types | Skill |
| LCG purposes | Assessing the learner's knowledge or skill state |
| LCG purposes | Selecting an assessment task or learning activity |
| action verb | Recognises en |
| assessment criterion | Flags the deficient case and passes the acceptable one. Deficient: Snowflake target; `uk_dim_account_nk` emitted `-- NOT ENFORCED` with no `uniqueness` DQ rule. A rerun of the nightly load inserts a second current version of every account, and every payment joins twice Acceptable: The constraint kept — the optimiser and the BI layer read it — and a `uniqueness` DQ rule naming it in `backs`, plus an unknown-member row so an unmatched `account_key` is visible rather than orphaned (`DQR-017`, `DQR-018`) en |
| assessment method | skill-tests task: Generated DDL review, Postgres and Snowflake (DDL review skills) en |
| conforms to profile | https://oppekava.edu.ee/a/Knobitite_kirjeldamise_ja_seostamise_reeglid#LCG-KNOBIT-0.1 |
| dcterms:identifier | K-807 |
| dcterms:license | https://creativecommons.org/licenses/by/4.0/ |
| dcterms:source | Review checklist 05-ddl, row 7; this skill (08-ddl.md); ISO 9075 en |
| expected result | A finding that names the defective generated DDL element and the defect en |
| owl:sameAs | https://bitbucket.org/reffa/ontology/id/knobit/data-modelling/08-ddl/07 |
| rdfs:label | `-- NOT ENFORCED` read as a guarantee (generated DDL) en |
| schema:creativeWorkStatus | superseded |
| schema:isPartOf | Data modelling (DAMA-DMBOK2) |
| schema:supersededBy | Recognises a declared constraint the target platform does not enforce |
| skos:definition | On Snowflake and Databricks every primary key, unique constraint and foreign key is documentation: the syntax is accepted and nothing is checked. Look for a key the design quietly relies on with no DQ rule behind it, and for a load that assumes referential integrity it will not get. en |
| skos:prefLabel | `-- NOT ENFORCED` read as a guarantee (generated DDL) en |
| target object | generated DDL en |