Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-14098

Abstract the details of JDBC IO like driver information from user in Go SDK

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.38.0
    • sdk-go
    • None

    Description

      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

      jdbcio.Write(s, tableName, driverClassName, jdbcurl, username, password, jdbcio.ExpansionAddrWrite("localhost:9000"))

      We want to have transforms like 

      jdbcio.WriteFromPostgres(s, tableName, jdbcurl, username, password, jdbcio.ExpansionAddrWrite("localhost:9000"))

      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.

       

      Attachments

        Issue Links

          Activity

            People

              riteshghorse Ritesh Ghorse
              riteshghorse Ritesh Ghorse
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 50m
                  2h 50m