Is it possible to use date-time fields such as "2019-08-24T14:15:22.000Z" in Avro?
The docs says that one needs to use type int
/long
with logical type for dates/timestamps. But in this case, you need to have your date as an epoch timestamp.
I'm looking for sth like this:
{
"name": "myDateField",
"type": "string",
"logicalType": "timestamp-micros"
}
but it seems that logicalType
is ignored in this case and it becomes possible to set any random string in that field.