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

Kenneth Knowles commented on BEAM-4620:
---------------------------------------

Perhaps [~jkff] or [~chamikara] can look.

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

Reply via email to