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

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

                Author: ASF GitHub Bot
            Created on: 21/Aug/19 19:37
            Start Date: 21/Aug/19 19:37
    Worklog Time Spent: 10m 
      Work Description: reuvenlax commented on issue #9275: [BEAM-6858] Support 
side inputs injected into a DoFn
URL: https://github.com/apache/beam/pull/9275#issuecomment-523617313
 
 
   Run Apex ValidatesRunner
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 298944)
    Time Spent: 3h 40m  (was: 3.5h)

> Support side inputs injected into a DoFn
> ----------------------------------------
>
>                 Key: BEAM-6858
>                 URL: https://issues.apache.org/jira/browse/BEAM-6858
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Reuven Lax
>            Assignee: Shehzaad Nakhoda
>            Priority: Major
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> Beam currently supports injecting main inputs into a DoFn process method. A 
> user can write the following:
> @ProcessElement public void process(@Element InputT element)
> And Beam will (using ByteBuddy code generation) inject the input element into 
> the process method.
> We would like to also support the same for side inputs. For example:
> @ProcessElement public void process(@Element InputT element, 
> @SideInput("tag1") String input1, @SideInput("tag2") Integer input2) 
> This requires the existing process-method analysis framework to capture these 
> side inputs. The ParDo code would have to verify the type of the side input 
> and include them in the list of side inputs. This would also eliminate the 
> need for the user to explicitly call withSideInputs on the ParDo.
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to