You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Boyuan Zhang (Jira)" <ji...@apache.org> on 2021/03/30 22:58:00 UTC
[jira] [Commented] (BEAM-11996) Implement SpannerIO on top of
Splittable DoFn
[ https://issues.apache.org/jira/browse/BEAM-11996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17311843#comment-17311843 ]
Boyuan Zhang commented on BEAM-11996:
-------------------------------------
h3. Goal
Convert [BatchSpannerRead|https://github.com/apache/beam/blob/a16bbf78bb5b3d3a14d13fb39ed442c612d0b493/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/BatchSpannerRead.java#L45] into Splittable DoFn.
Investigate whether it makes sense to convert [NaiveSpannerReadFn|https://github.com/apache/beam/blob/243128a8fc52798e1b58b0cf1a271d95ee7aa241/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/NaiveSpannerRead.java#L73] into Splittable DoFn as well.
h3. Details
The Splittable DoFn implementation should be a combination of [GeneratePartitionsFn + ReadFromPartitionFn|https://github.com/apache/beam/blob/a16bbf78bb5b3d3a14d13fb39ed442c612d0b493/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/BatchSpannerRead.java#L73-L79]
> Implement SpannerIO on top of Splittable DoFn
> ---------------------------------------------
>
> Key: BEAM-11996
> URL: https://issues.apache.org/jira/browse/BEAM-11996
> Project: Beam
> Issue Type: Improvement
> Components: io-java-gcp
> Reporter: Boyuan Zhang
> Priority: P2
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)