According to the Avro documentation, this should define a date field:

{
    "name": "DateTest",
    "type": "record",
    "fields": [
        {"name": "date", "type": "long", "logicalType": "date"}
    ]
}

NiFi 1.5.0-SNAPSHOT treats that as a Long and writes it to Mongo that way.
What am I doing wrong here?

Thanks,

Mike

Reply via email to