Skip to content

Instantly share code, notes, and snippets.

View amir20's full-sized avatar
🌴
On vacation

Amir Raminfar amir20

🌴
On vacation
View GitHub Profile
@amir20
amir20 / gist:4048488
Created November 9, 2012 21:51 — forked from jeffkole/gist:4047435
Avro IO with different reader and writer schemas
WRITER_SCHEMA = <<-JSON
{ "type": "record",
"name": "User",
"fields" : [
{"name": "username", "type": "string"},
{"name": "age", "type": "int"},
{"name": "verified", "type": "boolean", "default": "false"}
]}
JSON