[ 
https://issues.apache.org/jira/browse/AVRO-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295832#comment-13295832
 ] 

Thiruvalluvan M. G. commented on AVRO-1116:
-------------------------------------------

Verified on:

- Cygwin on Windows 7
- Visual C++ express 2010 on Windows 7
- Ubuntu 12.04

                
> 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

        

Reply via email to