trying to write a program to read avro files.
var reader = DataFileReader<GenericRecord>.OpenReader(path);
foreach (var record in reader.NextEntries)
{
var name = record["username"];
}
I downloaded the avro files 'twitter.avro' - this one works fine (it is not compressed), and 'twitter.snappy.avro' (this one is compressed) from here: https://github.com/miguno/avro-cli-examples, and tested them with online viewer which shows both.
However in my program although the uncompressed file works fine, the compressed one fails, the initial record's 'username' comes out to be: �cmigunoFRock: Nerf paper, scissors is fine.���
And the second record blows up on the call to 'NextEntries', with this exception: System.StackOverflowException: 'Exception of type 'System.StackOverflowException' was thrown.'