@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix edu: <https://knobit.org/def/> .
@prefix knobit: <https://knobit.org/id/knobit/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix register: <https://knobit.org/id/register/> .
@prefix schema: <https://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

knobit:K-813 a edu:Knobit ;
    rdfs:label "Recognises an index the target engine cannot create or run"@en ;
    dcterms:identifier "K-813" ;
    dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:source "Review checklist 05-ddl, row 13; this skill (08-ddl.md)"@en ;
    skos:altLabel "Index that cannot exist, or will not run (generated DDL)"@en ;
    skos:definition "Snowflake has no `CREATE INDEX` at all, so index definitions come out commented out and the real lever is a clustering key. MySQL cannot index a `TEXT`/`BLOB` column without a prefix length, and the script will fail at that statement."@en ;
    skos:prefLabel "Recognises an index the target engine cannot create or run"@en ;
    edu:actionVerb "Recognises"@en ;
    edu:appliesKnowledge knobit:K-852 ;
    edu:assessmentCriterion "Flags the deficient case and passes the acceptable one. Deficient: Snowflake; `ix_dim_account_number_current` commented out, no `cluster_by` set, and every point lookup on `dim_account` scans it. MySQL; `relationship_manager_notes` (`TEXT`) left in an index after the generator warned Acceptable: `physical_options.snowflake: {cluster_by: [account_number]}` and the Databricks equivalent — as the sample model has them — and the notes column bounded to a `VARCHAR` in the model, or removed from the index"@en ;
    edu:assessmentMethod "skill-tests task: Generated DDL review, Postgres and Snowflake (DDL review skills)"@en ;
    edu:contextFunction <https://knobit.org/def/contextFunction/resultEvaluation> ;
    edu:creationMethod <https://knobit.org/def/creationMethod/aiGeneratedHumanEdited> ;
    edu:expectedResult "The index and the engine-specific lever to use"@en ;
    edu:graphRelevance <https://knobit.org/def/graphRelevance/learnerState>,
        <https://knobit.org/def/graphRelevance/taskSelection> ;
    edu:knobitType <https://knobit.org/def/knobitType/skill> ;
    edu:targetObject "index definition"@en ;
    schema:creativeWorkStatus "accepted" ;
    schema:isPartOf register:data-modelling .

edu:Knobit rdfs:label "Knobit"@en,
        "Knobit"@et .

knobit:K-852 rdfs:label "Explains SQL dialect differences"@en .

