May 2017
Beginner to intermediate
596 pages
15h 2m
English
The parquet file format uses Avro schema for object definition. These Avro schemas are placed in the src/main/resources folder in both the projects. A typical Avro schema for address is as shown here:
{ "namespace": "example.avro", "type": "record", "name": "Contact", "fields": [ {"name": "id", "type": "string"}, {"name": "customerId", "type": "string"}, {"name": "street1", "type": "string"}, {"name": "street2", "type": "string"}, {"name": "city", "type": "string"}, {"name": "state", "type": "string"}, {"name": "country", "type": "string"}, {"name": "zipCode", "type": "string"} ]}