You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/11 00:58:58 UTC

[jira] [Commented] (BEAM-1257) Compressed text source emit an extra element when reading records

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

ASF GitHub Bot commented on BEAM-1257:
--------------------------------------

Github user sb2nov closed the pull request at:

    https://github.com/apache/beam/pull/1757


> Compressed text source emit an extra element when reading records
> -----------------------------------------------------------------
>
>                 Key: BEAM-1257
>                 URL: https://issues.apache.org/jira/browse/BEAM-1257
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py
>            Reporter: Sourabh Bajaj
>            Assignee: Sourabh Bajaj
>
> Way to reproduce: 
> Create a text file that has N lines. 
> Create a pipeline that reads the file and counts the number of elements.
> The plain text file will output N while a compressed file outputs N+1 which is incorrect. 
> Also need to add unittests to prevent this in the future. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)