You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Lucas Martin-King (JIRA)" <ji...@apache.org> on 2012/09/13 05:08:07 UTC

[jira] [Updated] (AVRO-1160) Avro-C: avrocat can report read errors

     [ https://issues.apache.org/jira/browse/AVRO-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lucas Martin-King updated AVRO-1160:
------------------------------------

    Attachment: 0001-Make-avrocatreportanyerrorsduringreading.patch

This patch is hereby placed into the public domain by Experian Hitwise Pty. Ltd.
                
> Avro-C: avrocat can report read errors
> --------------------------------------
>
>                 Key: AVRO-1160
>                 URL: https://issues.apache.org/jira/browse/AVRO-1160
>             Project: Avro
>          Issue Type: Improvement
>          Components: c
>    Affects Versions: 1.7.1
>            Reporter: Lucas Martin-King
>            Priority: Minor
>              Labels: avrocat
>         Attachments: 0001-Make-avrocatreportanyerrorsduringreading.patch
>
>
> Currently avrocat does not report any errors resulting from avro_file_reader_read_value().
> Currently avro_file_reader_read_value() doesn't report if we reach EOF, due to lower level error reporting limitations in Avro C. Instead, we check if we have reached EOF before reporting any errors. This is a bit rudimentary, however we at least get some indication of errors.
> I have reworked avrocat to always use avro_file_reader_fp().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira