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

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

                Author: ASF GitHub Bot
            Created on: 16/Aug/18 00:08
            Start Date: 16/Aug/18 00:08
    Worklog Time Spent: 10m 
      Work Description: youngoli commented on a change in pull request #6141: 
[BEAM-4679] Re-adding Flatten roots in ULR.
URL: https://github.com/apache/beam/pull/6141#discussion_r210446055
 
 

 ##########
 File path: 
runners/direct-java/src/main/java/org/apache/beam/runners/direct/portable/EmptyInputProvider.java
 ##########
 @@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.beam.runners.direct.portable;
+
+import java.util.Collection;
+import java.util.Collections;
+import 
org.apache.beam.runners.core.construction.graph.PipelineNode.PTransformNode;
+
+/** A {@link RootInputProvider} that provides no input bundles. */
+class EmptyInputProvider implements RootInputProvider<Void> {
+  EmptyInputProvider() {}
+
+  /**
+   * {@inheritDoc}.
+   *
+   * <p>Returns an empty collection.
+   */
+  @Override
+  public Collection<CommittedBundle<Void>> getInitialInputs(
+      PTransformNode transform, int targetParallelism) {
+    return Collections.emptyList();
+  }
+}
 
 Review comment:
   This is showing up without the line at the end of file on Github for me, but 
seems to actually have it in the repo. I think Github might just not be 
updating.

----------------------------------------------------------------
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: 135204)
    Time Spent: 2h 10m  (was: 2h)

> Support portable combiner lifting in Java Reference Runner
> ----------------------------------------------------------
>
>                 Key: BEAM-4679
>                 URL: https://issues.apache.org/jira/browse/BEAM-4679
>             Project: Beam
>          Issue Type: Sub-task
>          Components: runner-direct
>            Reporter: Daniel Oliveira
>            Assignee: Daniel Oliveira
>            Priority: Major
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Adjust the Reference Runner in Java to support portable combiner lifting as 
> described in the following doc:
> https://s.apache.org/beam-runner-api-combine-model



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

Reply via email to