Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"type" : "record",
"name" : "TimeExamples",
"namespace": "com.example",
"fields" : [
{
"name": "aDate",
"type": "int"
"logicalType": "date"
},
{
"name": "aTimeInMillis",
"type": "int"
"logicalType": "time-millis"
},
{
"name": "aTimeInMicros",
"type": "long"
"logicalType": "time-micros"
},
{
"name": "aTimestampInMillis",
"type": "long"
"logicalType": "timestamp-millis"
},
{
"name": "aTimestampInMicros",
"type": "long"
"logicalType": "timestamp-micros"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment