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

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

                Author: ASF GitHub Bot
            Created on: 26/Dec/18 23:32
            Start Date: 26/Dec/18 23:32
    Worklog Time Spent: 10m 
      Work Description: boyuanzz commented on pull request #7330: [BEAM-6233]: 
Add initial user timer support in Dataflow for batch pipelines
URL: https://github.com/apache/beam/pull/7330#discussion_r244061013
 
 

 ##########
 File path: 
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/fn/control/ProcessRemoteBundleOperation.java
 ##########
 @@ -84,10 +170,21 @@ public void start() throws Exception {
 
   @Override
   public void process(Object inputElement) throws Exception {
-    LOG.debug(String.format("Sending value: %s", inputElement));
+    LOG.debug(String.format("Sending element: %s", inputElement));
+    String mainInputPCollectionId = 
executableStage.getInputPCollection().getId();
+    FnDataReceiver<WindowedValue<?>> mainInputReceiver =
+        remoteBundle.getInputReceivers().get(mainInputPCollectionId);
+
+    // TODO(BEAM-6274): Is this always true? Do we always send the input 
element to the main input receiver?
 
 Review comment:
   Based on the current implementation of ExecutableStage, it's true that there 
is only one input PCollection(which is mapping to one InputReceiver). I'm not 
sure whether it's true in the future, @robertwb do you have any insights on 
this?
 
----------------------------------------------------------------
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: 178813)
    Time Spent: 1.5h  (was: 1h 20m)

> Make bundle execution with ExecutableStage support timer/states
> ---------------------------------------------------------------
>
>                 Key: BEAM-6233
>                 URL: https://issues.apache.org/jira/browse/BEAM-6233
>             Project: Beam
>          Issue Type: Task
>          Components: runner-dataflow
>            Reporter: Boyuan Zhang
>            Assignee: Sam Rohde
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>




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

Reply via email to