datetime.epoch.unix_microsecondsMicroseconds since epoch. Used in high-frequency trading, distributed tracing (Jaeger, Zipkin), and InfluxDB.
$ finetype infer -i "1705312200000000"
→ datetime.epoch.unix_microsecondsSELECT finetype('1705312200000000');
-- → 'datetime.epoch.unix_microseconds'to_timestamp({col}::BIGINT / 1000000)-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS TIMESTAMP) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'datetime.epoch.unix_microseconds';{
"$id": "https://meridian.online/schemas/datetime.epoch.unix_microseconds",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Microseconds since epoch. Used in high-frequency trading, distributed tracing (Jaeger, Zipkin), and InfluxDB.",
"examples": [
"1705312200000000",
"1577836799999999"
],
"maxLength": 16,
"minLength": 16,
"pattern": "^\\d{16}$",
"title": "Unix Timestamp (microseconds)",
"type": "string",
"x-finetype-broad-type": "TIMESTAMP",
"x-finetype-transform": "to_timestamp({col}::BIGINT / 1000000)"
}17053122000000001577836799999999