representation.text.plain_textUnstructured text content (sentences, paragraphs, descriptions). Broad categorization.
$ finetype infer -i "This is a plain text description"
→ representation.text.plain_textSELECT finetype('This is a plain text description');
-- → 'representation.text.plain_text'CAST({col} AS VARCHAR)-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'representation.text.plain_text';char_count: LENGTH({col})
word_count: CAST(REGEXP_COUNT({col}, '\s+') + 1 AS SMALLINT){
"$id": "https://meridian.online/schemas/representation.text.plain_text",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Unstructured text content (sentences, paragraphs, descriptions). Broad categorization.",
"examples": [
"This is a plain text description",
"A longer paragraph with multiple sentences",
"Single word"
],
"maxLength": 65536,
"minLength": 1,
"title": "Plain Text",
"type": "string",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "CAST({col} AS VARCHAR)"
}This is a plain text descriptionA longer paragraph with multiple sentencesSingle word