knobit.org

Recognises a CHECK constraint parsed and ignored

edu:Knobit

https://knobit.org/id/knobit/K-808

Also as Turtle · JSON-LD · RDF/XML · AI benchmark on Skilirium

Context functionsResult evaluation
Knobit creation methodsAI generated, human edited
Knobit typesSkill
LCG purposesAssessing the learner's knowledge or skill state
LCG purposesSelecting an assessment task or learning activity
action verbRecognises en
applies knowledgeExplains rule enforcement mechanisms and platform enforcement
applies knowledgeExplains SQL dialect differences
assessment criterionFlags the deficient case and passes the acceptable one. Deficient: MySQL 5.7 target generated without `--mysql-version`; `ck_fact_payment_status_code` listing `PND`, `SET`, `RTN` deploys cleanly, enforces nothing, and a changed feed loads `SETT` for a month before a report notices Acceptable: `--mysql-version 5.7`, the checks commented out so no reader believes otherwise, and a `validity` DQ rule for `payment_status_code` for as long as that target is in scope en
assessment methodskill-tests task: Generated DDL review, Postgres and Snowflake (DDL review skills) en
conforms to profilehttps://oppekava.edu.ee/a/Knobitite_kirjeldamise_ja_seostamise_reeglid#LCG-KNOBIT-0.1
dcterms:identifierK-808
dcterms:licensehttps://creativecommons.org/licenses/by/4.0/
dcterms:sourceReview checklist 05-ddl, row 8; this skill (08-ddl.md); ISO 9075 en
expected resultThe checks to cover by data quality rules en
owl:sameAshttps://bitbucket.org/reffa/ontology/id/knobit/data-modelling/08-ddl/08
rdfs:labelRecognises a CHECK constraint parsed and ignored en
schema:creativeWorkStatusaccepted
schema:isPartOfData modelling (DAMA-DMBOK2)
skos:altLabelCHECK parsed and silently ignored (generated DDL) en
skos:definitionMySQL before 8.0.16 parses `CHECK` and ignores it, which is worse than rejecting it. `--mysql-version 5.7` makes the generator emit them commented out with a header note; without the flag they are emitted live and read as enforced. en
skos:prefLabelRecognises a CHECK constraint parsed and ignored en
target objectCHECK on MySQL before 8.0.16 en

Used by

includes knobitGenerates DDL per target dialect and reviews it against model, engine, data and deployment
requires knobitGenerate and review DDL