You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Kenneth Knowles (JIRA)" <ji...@apache.org> on 2018/06/26 05:19:00 UTC
[jira] [Assigned] (BEAM-4620)
UnboundedReadFromBoundedSource.split() should always call split()
[ https://issues.apache.org/jira/browse/BEAM-4620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenneth Knowles reassigned BEAM-4620:
-------------------------------------
Assignee: (was: Kenneth Knowles)
> UnboundedReadFromBoundedSource.split() should always call split()
> -----------------------------------------------------------------
>
> Key: BEAM-4620
> URL: https://issues.apache.org/jira/browse/BEAM-4620
> Project: Beam
> Issue Type: Bug
> Components: beam-model
> Reporter: Josh M
> Priority: Minor
>
> If the source contains too little data (rounds the result down to 0), or if size estimation fails, then we don't call .split(). We must always call split(); instead of returning original source, we should have computed some fallback value for desiredBundleSize.
> This bug has existed since the code was first introduced, so it is not a regression - but it is certainly a bug.
>
> source:
> https://github.com/apache/beam/blob/697a1d17e473cd5b097aaaeee24c08f43cc77f58/runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/UnboundedReadFromBoundedSource.java#L137
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)