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

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

2015-05-19 Thread Check Peck
Can anyone help me with this? On Mon, May 18, 2015 at 2:04 PM, Check Peck comptechge...@gmail.com wrote: Does anyone have any idea on this why it is behaving like this? On Mon, May 18, 2015 at 1:03 PM, Check Peck comptechge...@gmail.com wrote: And this is my to_string method I forgot to

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

2015-05-18 Thread Check Peck
And this is my to_string method I forgot to provide. std::string DataSchema::to_string() const { ostringstream os; if (valid()) { os JSON data: ; m_schema.toJson(os); } return os.str(); } On Mon, May 18, 2015 at 12:54 PM, Check Peck comptechge...@gmail.com

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

2015-05-18 Thread Check Peck
Does anyone have any idea on this why it is behaving like this? On Mon, May 18, 2015 at 1:03 PM, Check Peck comptechge...@gmail.com wrote: And this is my to_string method I forgot to provide. std::string DataSchema::to_string() const { ostringstream os; if (valid()) {