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

ASF subversion and git services commented on AVRO-3190:
-------------------------------------------------------

Commit 6a1d0f3a1c3b39350a27802bb1df18434985fe4b in avro's branch 
refs/heads/master from RyanSkraba
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=6a1d0f3 ]

AVRO-3190: Error when trying to read 0 bytes at eof (#1314)

* fix error when trying to read 0 bytes at eof

When reading an avro file record for record each time when reading the last 
record DataFileReader tries to get the next block but (of course) fails. This 
fixes the issue.

* AVRO-3190: Return quickly on eof

* AVRO-3190: Unit test for EOF.

* AVRO-3190: Fix unit test to demonstrate problem

Co-authored-by: Stephan Hradek <[email protected]>

> [perl] Error when trying to read 0 bytes at eof
> -----------------------------------------------
>
>                 Key: AVRO-3190
>                 URL: https://issues.apache.org/jira/browse/AVRO-3190
>             Project: Apache Avro
>          Issue Type: Task
>          Components: perl
>            Reporter: Ryan Skraba
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When reading an avro file record for record each time when reading the last 
> record DataFileReader tries to get the next block but (of course) fails.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to