geography.location.countryCountry name in English or local language. Locale-specific due to name representation (e.g., "Germany" in English vs "Deutschland" in German).
$ finetype infer -i "United States"
→ geography.location.countrySELECT finetype('United States');
-- → 'geography.location.country'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) = 'geography.location.country';{
"$id": "https://meridian.online/schemas/geography.location.country",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Country name in English or local language. Locale-specific due to name representation (e.g., \"Germany\" in English vs \"Deutschland\" in German).",
"examples": [
"United States",
"France",
"Japan",
"Germany",
"Canada"
],
"maxLength": 100,
"minLength": 2,
"title": "Country Name",
"type": "string",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "CAST({col} AS VARCHAR)"
}United StatesFranceJapanGermanyCanada