datetime.date.short_ymdTwo-digit year, year-first (ISO-like ordering). Dash-separated.
$ finetype infer -i "24-01-15"
→ datetime.date.short_ymdSELECT finetype('24-01-15');
-- → 'datetime.date.short_ymd'strptime({col}, '%y-%m-%d')::DATE
-- Format: %y-%m-%d-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS DATE) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'datetime.date.short_ymd';{
"$id": "https://meridian.online/schemas/datetime.date.short_ymd",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Two-digit year, year-first (ISO-like ordering). Dash-separated.",
"examples": [
"24-01-15",
"99-12-31"
],
"maxLength": 8,
"minLength": 8,
"pattern": "^\\d{2}-\\d{2}-\\d{2}$",
"title": "Short Date (Year-Month-Day, 2-digit year)",
"type": "string",
"x-finetype-broad-type": "DATE",
"x-finetype-format-string": "%y-%m-%d",
"x-finetype-transform": "strptime({col}, '%y-%m-%d')::DATE"
}24-01-1599-12-31