geography.transportation.icao_codeInternational Civil Aviation Organization airport code (4 letters). More comprehensive than IATA; includes some smaller airports (e.g., KJFK, KLAX, LFPG).
$ finetype infer -i "KJFK"
→ geography.transportation.icao_codeSELECT finetype('KJFK');
-- → 'geography.transportation.icao_code'UPPER(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.transportation.icao_code';{
"$id": "https://meridian.online/schemas/geography.transportation.icao_code",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "International Civil Aviation Organization airport code (4 letters). More comprehensive than IATA; includes some smaller airports (e.g., KJFK, KLAX, LFPG).",
"examples": [
"KJFK",
"KLAX",
"LFPG",
"EGLL",
"RJTT"
],
"pattern": "^[A-Z]{4}$",
"title": "ICAO Airport Code",
"type": "string",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "UPPER(CAST({col} AS VARCHAR))"
}KJFKKLAXLFPGEGLLRJTT