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

2015-05-20 Thread Pierre de Frém
if it is useful?) Hope this helps. Pierre Date: Tue, 19 May 2015 18:37:56 + From: sgr...@yahoo-inc.com To: user@avro.apache.org Subject: Re: Not able to load avro schema fully with all its contents Just a guess, but I would assume that the schema object only stores fields that it cares about. This would

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 10:08

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

Not able to load avro schema fully with all its contents

2015-05-18 Thread Check Peck
I am working with Apache Avro in C++ and I am trying to load avro schema by using Avro C++ library. Everything works fine without any issues, only problem is - I have few doc in my Avro schema which is not getting shown at all in my AvroSchema when I try to load it and also print it out.

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()) {