[
https://issues.apache.org/jira/browse/BEAM-6730?focusedWorklogId=206287&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-206287
]
ASF GitHub Bot logged work on BEAM-6730:
----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Mar/19 07:43
Start Date: 01/Mar/19 07:43
Worklog Time Spent: 10m
Work Description: angoenka commented on pull request #7875: [BEAM-6730]
Expose Java SDK's GenerateSequence in Python
URL: https://github.com/apache/beam/pull/7875#discussion_r261497396
##########
File path:
runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/graph/GreedyPipelineFuser.java
##########
@@ -187,11 +187,19 @@ private DescendantConsumers
getRootConsumers(PTransformNode rootNode) {
rootNode.getId(),
rootNode.getTransform().getInputsMap());
checkArgument(
- !pipeline.getEnvironment(rootNode).isPresent(),
- "%s requires all root nodes to be runner-implemented %s primitives, "
+ !pipeline.getEnvironment(rootNode).isPresent()
+ // We allow Read transforms as root transforms. The Runner can
choose whether it
Review comment:
I am not super familiar with this piece of code so let me know if this is
trivial.
Will this bypass the cross language read as this will execute the transform
on Flink natively and not on Java SDKHarness?
----------------------------------------------------------------
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: 206287)
Time Spent: 3.5h (was: 3h 20m)
> 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: 3.5h
> 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)