Created
July 21, 2015 06:48
-
-
Save ppearcy/39e40489ab709e58d9a3 to your computer and use it in GitHub Desktop.
Schema with logicalType that can cause maven avro compiler error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"namespace": "schema.common", | |
"type": "record", | |
"name": "Action", | |
"fields": [ | |
{ | |
"name": "name", | |
"type": "string" | |
}, | |
{ | |
"name": "uuid", | |
"type": "string" | |
}, | |
{ | |
"name": "time", | |
"type": { | |
"type": "long", | |
"logicalType": "timestamp-millis" | |
} | |
}, | |
{ | |
"name": "requestId", | |
"type": [ | |
"null", | |
"string" | |
], | |
"default": null | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment