RE: Not able to load avro schema fully with all its contents

2015-05-20 Thread Pierre de Frém
Hello, Sam is right in his previous answer.More precisely, the field doc is read by the Compiler, but not stored at the moment in the Node object. The reason might be that the field doc is optional is the avro specification (see: https://avro.apache.org/docs/1.7.7/spec.html, Complex types). If

RE: Not able to load avro schema fully with all its contents

2015-05-20 Thread Pierre de Frém
Hello, I posted the patch for the trunk branch of the git there (for it to be reviewed):https://issues.apache.org/jira/browse/AVRO-1256 Pierre From: theped...@hotmail.com To: user@avro.apache.org Subject: RE: Not able to load avro schema fully with all its contents Date: Wed, 20 May 2015

Schema default values in C++ implementation

2015-04-14 Thread Pierre de Frém
Hello, I'm using the avro c++ api (1.7.8) to serialize/deserialize avro files. The schema I want to use is the following: { name: cpx, type: record, fields: [ {name: numbername, type: string}, {name: re, type: double}, {name: im, type: double, default: 0} ]