Netflix / PigPen

Map-Reduce for Clojure
Apache License 2.0
565 stars 55 forks source link

handle forward compatibility with default fields correctly #128

Closed theJohnnyBrown closed 9 years ago

theJohnnyBrown commented 9 years ago

Avro supports reading old data with a newer schema, as long as the new schema only adds fields and each added field has a default specified. This patch changes load-avro to support this feature of Avro. Fixes an issue with default values caused by using the canonical version (intended for use in fingerprinting) of the schema rather than the full version.