beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sourabh Bajaj (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BEAM-1257) Compressed text source emit an extra element when reading records
Date Tue, 10 Jan 2017 18:36:58 GMT

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

Sourabh Bajaj updated BEAM-1257:
--------------------------------
    Description: 
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. 

> 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)

Mime
View raw message