You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ankit Bharti (Jira)" <ji...@apache.org> on 2019/10/19 13:31:00 UTC

[jira] [Commented] (BEAM-6732) Add "withResults()" for JdbcIO.write()

    [ https://issues.apache.org/jira/browse/BEAM-6732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16955162#comment-16955162 ] 

Ankit Bharti commented on BEAM-6732:
------------------------------------

Hey there,

I am trying to use above implementation using unbounded PCollection (Pubsub datasource) that writes to DB1 and DB2.

DB2 is having a Wait.On DB1(withResults) , but unfortunately DB2 is not getting updated. 

With bounded PCollection it works fine. Any leads ?

Thanks in advance.

 

> Add "withResults()" for JdbcIO.write()
> --------------------------------------
>
>                 Key: BEAM-6732
>                 URL: https://issues.apache.org/jira/browse/BEAM-6732
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-jdbc
>            Reporter: Alexey Romanenko
>            Assignee: Alexey Romanenko
>            Priority: Minor
>             Fix For: 2.13.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Sometimes, it's needed to have a collection of write results after using {{JdbcIO.write()}}.
> For this purpose, we need to add new transform, e.g. {{.withResults()}}, which will return results   of write.
> More details are on this mailing list discussion:  https://lists.apache.org/thread.html/ad088cfe519b4ff8df218cd3f996ac41ee256d568c7278c38576cdd4@%3Cdev.beam.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)