beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-3708) Implement the portable lifted Combiner transforms in Java SDK
Date Wed, 20 Jun 2018 23:25:00 GMT


ASF GitHub Bot logged work on BEAM-3708:

                Author: ASF GitHub Bot
            Created on: 20/Jun/18 23:24
            Start Date: 20/Jun/18 23:24
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on a change in pull request #5622: [BEAM-3708]
Adding Combine component implementations to Java SDK

 File path: sdks/java/harness/src/main/java/org/apache/beam/fn/harness/
 @@ -0,0 +1,126 @@
+ * 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
+ *
+ *
+ *
+ * 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.fn.harness;
+import java.util.Map;
+import org.apache.beam.model.pipeline.v1.RunnerApi.CombinePayload;
+import org.apache.beam.model.pipeline.v1.RunnerApi.PTransform;
+import org.apache.beam.model.pipeline.v1.RunnerApi.StandardPTransforms;
+import org.apache.beam.sdk.fn.function.ThrowingFunction;
+import org.apache.beam.sdk.transforms.Combine.CombineFn;
+import org.apache.beam.sdk.util.SerializableUtils;
+import org.apache.beam.sdk.values.KV;
+ * Executes different components of Combine PTransforms.
+ */
+public class CombineRunners<InputT, OutputT> {
+  private static final String PRECOMBINE_URN =
 Review comment:
   Not much value in declaring these constants here again since they are used in this class
only once so directly reference them there.

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:

Issue Time Tracking

    Worklog Id:     (was: 113970)

> Implement the portable lifted Combiner transforms in Java SDK
> -------------------------------------------------------------
>                 Key: BEAM-3708
>                 URL:
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-java-core, sdk-java-harness
>            Reporter: Daniel Oliveira
>            Assignee: Daniel Oliveira
>            Priority: Major
>              Labels: portability
>          Time Spent: 40m
>  Remaining Estimate: 0h
> Lifted combines are split into separate parts with different URNs. These parts need
to be implemented in the Java SDK harness so that the SDK can actually execute them when
receiving Combine transforms with the corresponding URNs.

This message was sent by Atlassian JIRA

View raw message