datetime.time.hms_24hStandard 24-hour time without fractional seconds. The most common time representation in data systems.
$ finetype infer -i "10:30:00"
→ datetime.time.hms_24hSELECT finetype('10:30:00');
-- → 'datetime.time.hms_24h'strptime({col}, '%H:%M:%S')::TIME
-- Format: %H:%M:%S-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS TIME) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'datetime.time.hms_24h';{
"$id": "https://meridian.online/schemas/datetime.time.hms_24h",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Standard 24-hour time without fractional seconds. The most common time representation in data systems.",
"examples": [
"10: 30: 00",
"23: 59: 59",
"00: 00: 00"
],
"maxLength": 8,
"minLength": 8,
"pattern": "^\\d{2}:\\d{2}:\\d{2}$",
"title": "24-Hour Time (HH:MM:SS)",
"type": "string",
"x-finetype-broad-type": "TIME",
"x-finetype-format-string": "%H:%M:%S",
"x-finetype-transform": "strptime({col}, '%H:%M:%S')::TIME"
}10:30:0023:59:5900:00:00