Re: How to install avro under ruby?

2014-02-20 Thread Tomas Svarovsky
Hey Edward it should go simply as gem install avrò Unfortunately there is a bug currently but you can easily circumvent it by following this http://mail-archives.apache.org/mod_mbox/avro-user/201402.mbox/browser The ticket with a patch is here https://issues.apache.org/jira/browse/AVRO-1459

Re: Avro schema in Ruby API

2014-02-18 Thread Tomas Svarovsky
enumerating over the reader. On Sun, Feb 16, 2014 at 4:52 AM, Tomas Svarovsky svarovsky.to...@gmail.com wrote: Hey, I wanted to ask couple of questions. 1) Let's assume I have 2 avro files. I would like to grab schemas of both. Compare them and decide what to do. The only way I found to get

Avro schema in Ruby API

2014-02-15 Thread Tomas Svarovsky
Hey, I wanted to ask couple of questions. 1) Let's assume I have 2 avro files. I would like to grab schemas of both. Compare them and decide what to do. The only way I found to get to the schema in a reader is through dr = Avro::DataFile::Reader.new(file, Avro::IO::DatumReader.new) dr.meta and