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

Ritesh Ghorse updated BEAM-14098:
---------------------------------
    Fix Version/s: 2.38.0
       Resolution: Fixed
           Status: Resolved  (was: Open)

> 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
>             Fix For: 2.38.0
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to