Hey Harsh,
thanks. I can confirm that the first one works. Let me try the second one.
Tomas
On Sun, Feb 16, 2014 at 8:07 AM, Harsh J ha...@cloudera.com wrote:
Hi,
For (1) I believe you could do a Schema.parse meta['avro.schema'] to
obtain the schema as an object from the meta entry of the
Hi all,
Here's my use case: I've got a bunch of different Java objects generated
from Avro schema files. So the class definition headers look something like
this: public class MyObject extends
org.apache.avro.specific.SpecificRecordBase implements
org.apache.avro.specific.SpecificRecord. I've got
Here are some utility functions we've used for serialization to and from JSON.
Something similar should work for binary.
public T String avroEncodeAsJson(ClassT clazz, Object object) {
String avroEncodedJson = null;
try {
if (object == null || !(object instanceof SpecificRecord))
I am trying to read an avro file compessed with snappy using Avro C++, but
Avro C++ does not come with snappy out of the box, and I am unsure how to
add it.
Can anyone offer any practical advice to get it working?
Thanks.
--
View this message in context:
That's great Gary. Thanks for the follow up.
Dave
From: flaming.ze...@gmail.com [mailto:flaming.ze...@gmail.com] On Behalf Of
Gary Steelman
Sent: Tuesday, February 18, 2014 5:15 PM
To: Gary Steelman
Cc: user@avro.apache.org
Subject: Re: General-Purpose Serialization and Deserialization for