[
https://issues.apache.org/jira/browse/BEAM-6730?focusedWorklogId=203539&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-203539
]
ASF GitHub Bot logged work on BEAM-6730:
----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Feb/19 10:19
Start Date: 25/Feb/19 10:19
Worklog Time Spent: 10m
Work Description: chamikaramj commented on pull request #7875:
[BEAM-6730] Expose Java SDK's GenerateSequence in Python
URL: https://github.com/apache/beam/pull/7875#discussion_r259757238
##########
File path:
sdks/java/core/src/main/java/org/apache/beam/sdk/io/GenerateSequence.java
##########
@@ -98,6 +101,24 @@
abstract GenerateSequence build();
}
+ public static GenerateSequence
fromExternal(ExternalTransforms.GenerateSequencePayload payload) {
Review comment:
As mentioned in the doc, I'm bit worried about this extra work on the
transform author to make a given transform cross-language compatible. I think
we should aim for a model where the transform author simply describe the
interface for initiating the transform using a schema. Extra work for building
the transform should be generated and performed by the framework.
This is probably OK as a first version though.
----------------------------------------------------------------
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: 203539)
> 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: 1h 10m
> 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)