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/10 18:36:58 UTC
[jira] [Updated] (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 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)