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

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

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

Kenneth Knowles updated BEAM-14098:
-----------------------------------
    Status: Open  (was: Triage Needed)

> Abstract the details of JDBC IO like driver information from user
> -----------------------------------------------------------------
>
>                 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)