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

Chamikara Jayalath resolved BEAM-4620.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.11.0

> UnboundedReadFromBoundedSource.split() should always call split()
> -----------------------------------------------------------------
>
>                 Key: BEAM-4620
>                 URL: https://issues.apache.org/jira/browse/BEAM-4620
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Josh M
>            Assignee: Chamikara Jayalath
>            Priority: Minor
>             Fix For: 2.11.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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