fn check_schema( datatype: ColumnDataType, semantic_type: SemanticType, schema: &ColumnSchema, ) -> Result<()>