You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org> on 2012/07/04 11:12:33 UTC

[jira] [Updated] (AVRO-1116) C++ code crashes on Data files with no data

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

Thiruvalluvan M. G. updated AVRO-1116:
--------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed revision 1357185.
                
> C++ code crashes on Data files with no data
> -------------------------------------------
>
>                 Key: AVRO-1116
>                 URL: https://issues.apache.org/jira/browse/AVRO-1116
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.7.0
>            Reporter: Thiruvalluvan M. G.
>            Assignee: Thiruvalluvan M. G.
>             Fix For: 1.7.1
>
>         Attachments: AVRO-1116.patch
>
>
> It is because a single variable objectCount_ is used to represent the number of objects in the current block. There is no way to distinguish between the current block having zero objects and having read all the records in the current (non-empty) block.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira