You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Daniel Halperin (JIRA)" <ji...@apache.org> on 2016/10/14 05:55:20 UTC

[jira] [Comment Edited] (BEAM-697) TextIO.Write.Bound.withHeader() and withFooter() do not use the current value of validate for the returned Bound instance

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

Daniel Halperin edited comment on BEAM-697 at 10/14/16 5:55 AM:
----------------------------------------------------------------

Thanks for this. Mirroring from discussion on that PR, prefer to separate out this (awesome, and welcome) fix as its own PR.


was (Author: dhalperi@google.com):
Thanks for this. Mirroring from discussion on that PR, prefer to separate out this (awesome, welcome) fix as its own PR.

> TextIO.Write.Bound.withHeader() and withFooter() do not use the current value of validate for the returned Bound instance
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-697
>                 URL: https://issues.apache.org/jira/browse/BEAM-697
>             Project: Beam
>          Issue Type: Bug
>          Components: beam-model
>    Affects Versions: 0.2.0-incubating, 0.3.0-incubating
>            Reporter: Jeffrey Payne
>            Assignee: Frances Perry
>            Priority: Minor
>             Fix For: 0.3.0-incubating
>
>
> {{TextIO.Write.Bound.withHeader()}} and {{TextIO.Write.Bound.withFooter()}} both pass a literal value of {{false}} to the constructor's {{validate}} parameter for the returned {{Bound}} instance.  This could, obviously, lead to unintended behavior wrt pipeline validation.  Looks like a simple copy and paste error from {{TextIO.Write.Bound.withoutValidation()}} :)
> I'm about to push another iteration for a PR for BEAM-55 and have included the *trivial* fix for this bug it in that set of changes.  Creating this in case my PR is not accepted right away.  Please close if this issue is wholly unnecessary.  Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)