beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2608) Unclosed BoundedReader in TextIO#ReadTextFn#process()
Date Sun, 16 Jul 2017 00:39:00 GMT

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

ASF GitHub Bot commented on BEAM-2608:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/beam/pull/3567


> Unclosed BoundedReader in TextIO#ReadTextFn#process()
> -----------------------------------------------------
>
>                 Key: BEAM-2608
>                 URL: https://issues.apache.org/jira/browse/BEAM-2608
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Ted Yu
>            Assignee: Eugene Kirpichov
>            Priority: Minor
>
> {code}
>         BoundedSource.BoundedReader<String> reader =
>             source
>                 .createForSubrangeOfFile(metadata, range.getFrom(), range.getTo())
>                 .createReader(c.getPipelineOptions());
> {code}
> The reader should be closed upon return.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message