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

[jira] [Resolved] (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:all-tabpanel ]

Sourabh Bajaj resolved BEAM-1257.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Not applicable

> 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
>             Fix For: Not applicable
>
>
> 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)