Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexRogalskiy/9ffa951e9103fef47b5e016d714c23dc to your computer and use it in GitHub Desktop.
Save AlexRogalskiy/9ffa951e9103fef47b5e016d714c23dc to your computer and use it in GitHub Desktop.
{
"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