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 2016/12/19 04:08:58 UTC

[jira] [Commented] (BEAM-1159) DoFnSignature should have info on the fn's side inputs and outputs

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

Kenneth Knowles commented on BEAM-1159:
---------------------------------------

The expected resolution of this ticket was actually designed long ago, and is included as an appendix to the new DoFn design, here: https://s.apache.org/a-new-dofn#heading=h.1budnm7l01ko

It hasn't been a priority yet, but it isn't difficult. It can probably be done in a backwards-compatible manner, though it would be cleaner if we have time to add the new form of support and remove the old way.

> DoFnSignature should have info on the fn's side inputs and outputs
> ------------------------------------------------------------------
>
>                 Key: BEAM-1159
>                 URL: https://issues.apache.org/jira/browse/BEAM-1159
>             Project: Beam
>          Issue Type: Improvement
>            Reporter: Eugene Kirpichov
>
> This is logically part of the fn itself, rather than its enclosing transform.
> Example where this would have been important: signature.processElement().observesWindow() should return true for a DoFn that has any side inputs, since side inputs are windowed. See BEAM-1149.



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