Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5753

User and pwd not being propagated to JDBC context from go driver

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.34.0
    • avatica-go-5.3.0
    • avatica-go
    • None

    Description

      Username and pwd not being propagated in the JDBC context. Had to add the following code in the Connect method of driver.go to make it work

          if config.avaticaUser != "" {
              c.Info["user"] = config.avaticaUser
          }
          if config.avaticaPassword != "" {
              c.Info["password"] = config.avaticaPassword
          }  

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            francischuang Francis Chuang
            pjain16 Parag Jain
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 0.5h
                0.5h

                Slack

                  Issue deployment