datetime.period.fiscal_yearFiscal year notation (FY prefix with 2 or 4-digit year). Common in corporate finance CSVs, government budget documents, and annual reports. The fiscal year ending period varies by organization — FY2024 may refer to a period ending in calendar 2024 or starting in 2024.
$ finetype infer -i "FY2024"
→ datetime.period.fiscal_yearSELECT finetype('FY2024');
-- → 'datetime.period.fiscal_year'CAST(regexp_extract({col}, 'FY(\d{2,4})') 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) = 'datetime.period.fiscal_year';year: CAST(regexp_extract({col}, 'FY(\d{2,4})') AS INT){
"$id": "https://meridian.online/schemas/datetime.period.fiscal_year",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Fiscal year notation (FY prefix with 2 or 4-digit year). Common in corporate finance CSVs, government budget documents, and annual reports. The fiscal year ending period varies by organization — FY2024 may refer to a period ending in calendar 2024 or starting in 2024.",
"examples": [
"FY2024",
"FY24",
"FY2023",
"FY25"
],
"maxLength": 6,
"minLength": 4,
"pattern": "^FY\\d{2,4}$",
"title": "Fiscal Year",
"type": "string",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "CAST(regexp_extract({col}, 'FY(\\d{2,4})') AS VARCHAR)"
}FY2024FY24FY2023FY25