[ 
https://issues.apache.org/jira/browse/BEAM-3979?focusedWorklogId=100741&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-100741
 ]

ASF GitHub Bot logged work on BEAM-3979:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/May/18 18:18
            Start Date: 10/May/18 18:18
    Worklog Time Spent: 10m 
      Work Description: reuvenlax opened a new pull request #5331: [BEAM-3979] 
Reintroduce usage from pr/4989
URL: https://github.com/apache/beam/pull/5331
 
 
   Usage components from pr/4989 were reverted from that PR due to 
compatibility issues with the Dataflow runner. Now that Dataflow is updated, 
reintroduce those files.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 100741)
    Time Spent: 4h 20m  (was: 4h 10m)

> New DoFn should allow injecting of all parameters in ProcessContext
> -------------------------------------------------------------------
>
>                 Key: BEAM-3979
>                 URL: https://issues.apache.org/jira/browse/BEAM-3979
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>    Affects Versions: 2.4.0
>            Reporter: Reuven Lax
>            Assignee: Reuven Lax
>            Priority: Major
>             Fix For: 2.5.0
>
>          Time Spent: 4h 20m
>  Remaining Estimate: 0h
>
> This was intended in the past, but never completed. Ideally all primitive 
> parameters in ProcessContext should be injectable, and OutputReceiver 
> parameters can be used to collection output. So, we should be able to write a 
> DoFn as follows
> @ProcessElement
> public void process(@Element String word, OutputReceiver<String> receiver) {
>   receiver.output(word.toUpperCase());
> }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to