Skip to content

Instantly share code, notes, and snippets.

@filosganga
Last active April 8, 2023 08:25
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save filosganga/664efb211fa249819e4e10db57260bb5 to your computer and use it in GitHub Desktop.
Save filosganga/664efb211fa249819e4e10db57260bb5 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