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

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

                Author: ASF GitHub Bot
            Created on: 18/Mar/19 10:23
            Start Date: 18/Mar/19 10:23
    Worklog Time Spent: 10m 
      Work Description: mxm commented on pull request #7875: [BEAM-6730] 
Support configuring transforms externally in Java SDK / Expose Java's 
GenerateSequence in Python
URL: https://github.com/apache/beam/pull/7875#discussion_r266340582
 
 

 ##########
 File path: 
runners/flink/src/test/java/org/apache/beam/runners/flink/ReadSourcePortableTest.java
 ##########
 @@ -0,0 +1,120 @@
+/*
+ * 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.flink;
+
+import java.io.Serializable;
+import java.util.Collections;
+import java.util.concurrent.Executors;
+import java.util.concurrent.TimeUnit;
+import org.apache.beam.model.jobmanagement.v1.JobApi.JobState.Enum;
+import org.apache.beam.model.pipeline.v1.RunnerApi;
+import org.apache.beam.runners.core.construction.Environments;
+import org.apache.beam.runners.core.construction.JavaReadViaImpulse;
+import org.apache.beam.runners.core.construction.PipelineTranslation;
+import org.apache.beam.runners.fnexecution.jobsubmission.JobInvocation;
+import org.apache.beam.sdk.Pipeline;
+import org.apache.beam.sdk.io.GenerateSequence;
+import org.apache.beam.sdk.options.PipelineOptions;
+import org.apache.beam.sdk.options.PipelineOptionsFactory;
+import org.apache.beam.sdk.options.PortablePipelineOptions;
+import org.apache.beam.sdk.testing.CrashingRunner;
+import org.apache.beam.sdk.testing.PAssert;
+import org.apache.beam.sdk.values.PCollection;
+import 
org.apache.beam.vendor.guava.v20_0.com.google.common.collect.ImmutableList;
+import 
org.apache.beam.vendor.guava.v20_0.com.google.common.util.concurrent.ListeningExecutorService;
+import 
org.apache.beam.vendor.guava.v20_0.com.google.common.util.concurrent.MoreExecutors;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
+import org.junit.runners.Parameterized.Parameter;
+import org.junit.runners.Parameterized.Parameters;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/** Tests that Read translation is supported in portable pipelines. */
+@RunWith(Parameterized.class)
+public class ReadSourcePortableTest implements Serializable {
 
 Review comment:
   Unfortunately not because Reads are normally executed in an environment. 
This tests the native translation path which is required for executing 
unbounded sources.
 
----------------------------------------------------------------
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:
[email protected]


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

    Worklog Id:     (was: 214671)
    Time Spent: 9h 40m  (was: 9.5h)

> Expose Java transforms (specifically IO) in other SDKs
> ------------------------------------------------------
>
>                 Key: BEAM-6730
>                 URL: https://issues.apache.org/jira/browse/BEAM-6730
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-flink, sdk-java-core, sdk-py-core
>            Reporter: Maximilian Michels
>            Assignee: Maximilian Michels
>            Priority: Major
>          Time Spent: 9h 40m
>  Remaining Estimate: 0h
>
> Since https://github.com/apache/beam/pull/7316 we can reference external 
> transforms which are transforms only available in a "foreign" SDKs. This 
> allows us to fill the gap in terms of missing transforms in the Python and Go 
> SDK, specifically IO transforms.
> We can start collecting/exposing transforms that Beam users need. The 
> following transforms could be interesting:
> - KafkaIO / KinesisIO
> - CassandraIO / ElasticserchIO / Hbase / Redis
> - JDBC
> - S3 file system
> - GenerateSequence
> See also https://s.apache.org/beam-cross-language-io and BEAM-6485.
> CC [~robertwb] [~chamikara] [~thw]



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

Reply via email to