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:40:00 UTC

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

Ritesh Ghorse created BEAM-14098:
------------------------------------

             Summary: 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


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)