Re: Error when trying to convert a local datafile to plain text with Avro Tools
Have you looked into the code for the toText Java?
We construct the Schema.Parser().parse method as follows
TEXT_FILE_SCHEMA has a static value of
private static final String TEXT_FILE_SCHEMA =
We can therefore conclude that your Avro data has a Schema which does not
match this... therefore benehviour is correct.
Are you able to try doing fileReader.getSchema() to see what thre Schema is
On Mon, Jul 14, 2014 at 1:22 AM, julianpeeters <[EMAIL PROTECTED]>