You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ritesh Ghorse (Jira)" <ji...@apache.org> on 2022/03/14 17:41:00 UTC

[jira] [Updated] (BEAM-14098) Abstract the details of JDBC IO like driver information from user in Go SDK

     [ https://issues.apache.org/jira/browse/BEAM-14098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ritesh Ghorse updated BEAM-14098:
---------------------------------
    Summary: Abstract the details of JDBC IO like driver information from user in Go SDK  (was: Abstract the details of JDBC IO like driver information from user)

> Abstract the details of JDBC IO like driver information from user in Go SDK
> ---------------------------------------------------------------------------
>
>                 Key: BEAM-14098
>                 URL: https://issues.apache.org/jira/browse/BEAM-14098
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go
>            Reporter: Ritesh Ghorse
>            Assignee: Ritesh Ghorse
>            Priority: P2
>
> Currently, the users have to specify driver name for the database they are intending to connect with jdbc. This may not be absolutely required to some users who prefer to go with default driver for that database.
> For ex: To do write operation with jdbc io, users have to write
> {code:java}
> jdbcio.Write(s, tableName, driverClassName, jdbcurl, username, password, jdbcio.ExpansionAddrWrite("localhost:9000")){code}
> We want to have transforms like 
> {code:java}
> jdbcio.WriteFromPostgres(s, tableName, jdbcurl, username, password, jdbcio.ExpansionAddrWrite("localhost:9000")){code}
> We will keep the original API as it though to avoid any breakage and to support other databases unless we add specific APIs for them or for the user.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)