Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (11 sloc) 0.246 kB
#!/usr/bin/env ruby
require 'rubygems'
require 'avro'
require 'pp'
# read all data from avro file
puts ARGV[0]
file = File.open(ARGV[0], 'r+')
dr = Avro::DataFile::Reader.new(file, Avro::IO::DatumReader.new)
dr.each do |record|
pp record
end
Jump to Line
Something went wrong with that request. Please try again.