Re: Parsing canonical forms with schemas having default values.

2017-06-07 Thread Satish Duggana
That makes sense. "Parsing Canonical Form" talks only about the schema used in unmarshalling the payload and it does not involve projection and schema resolution with compatibility can not be represented with a fingerprint. Thanks, Satish. On Thu, Jun 8, 2017 at 12:14 AM, Doug Cutting wrote: >

Re: Parsing canonical forms with schemas having default values.

2017-06-07 Thread Doug Cutting
When reading data, two schemas are used: a schema with the same fingerprint as used to write the data, typically the actual schema used to write, and the schema you'd like to project to. Default values are only used from the latter schema. Matching fingerprints indicate binary compatibility. Sch

Parsing canonical forms with schemas having default values.

2017-06-06 Thread Satish Duggana
https://avro.apache.org/docs/1.8.1/spec.html#Parsing+Canonical+Form+for+Schemas > Parsing Canonical Form is a transformation of a writer's schema that let's us define what it means for two schemas to be "the same" for the purpose of reading data written agains the schema. It is called Parsing Canon