RE: Python 3: AssertionError on reading empty file

2019-06-19 Thread David Beswick
Thanks for your reply Michael – I’ve created https://issues.apache.org/jira/browse/AVRO-2432 and will attach a patch. From: Michael A. Smith Sent: Wednesday, 19 June 2019 8:50 PM To: user@avro.apache.org Subject: Re: Python 3: AssertionError on reading empty file CAUTION: This email

Re: Python 3: AssertionError on reading empty file

2019-06-19 Thread Michael A. Smith
Interesting question. The spec says a file has to start with a header. http://avro.apache.org/docs/current/spec.html#Object+Container+Files However, it may still be appropriate to have consistent behavior with the tools/java implementation. We could discuss amending the spec to be clearer about t