[
https://issues.apache.org/jira/browse/BEAM-6730?focusedWorklogId=206343&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-206343
]
ASF GitHub Bot logged work on BEAM-6730:
----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Mar/19 10:16
Start Date: 01/Mar/19 10:16
Worklog Time Spent: 10m
Work Description: mxm commented on pull request #7875: [BEAM-6730] Expose
Java SDK's GenerateSequence in Python
URL: https://github.com/apache/beam/pull/7875#discussion_r261547522
##########
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:
Root transforms are enforced to be environment-free and input-free
transforms, i.e. Impulse. Read executes in an environment and is executed by
the harness, but in order to support bounded and unbounded reads, we need to
translate it natively. Otherwise we are limited to bounded sources.
----------------------------------------------------------------
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: 206343)
Time Spent: 3h 50m (was: 3h 40m)
> 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: 3h 50m
> 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)