container.array.pipe_separatedList separated by pipe character: value1|value2|value3. Similar to CSV but uses pipe as delimiter.
$ finetype infer -i "apple|banana|cherry"
→ container.array.pipe_separatedSELECT finetype('apple|banana|cherry');
-- → 'container.array.pipe_separated'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) = 'container.array.pipe_separated';STRING_SPLIT({col}, '|'){
"$id": "https://meridian.online/schemas/container.array.pipe_separated",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "List separated by pipe character: value1|value2|value3. Similar to CSV but uses pipe as delimiter.\nRECURSIVE INFERENCE: Samples elements and infers common type, returns LIST<inferred_type>.",
"examples": [
"apple|banana|cherry",
"1|2|3|4|5"
],
"pattern": "^[^|]+(\\|[^|]+)*$",
"title": "Pipe-Separated Values",
"type": "string",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "CAST({col} AS VARCHAR)"
}apple|banana|cherry1|2|3|4|5