Parag Jain created CALCITE-5753:
-----------------------------------

             Summary: User and pwd not being propagated to JDBC context from go 
driver
                 Key: CALCITE-5753
                 URL: https://issues.apache.org/jira/browse/CALCITE-5753
             Project: Calcite
          Issue Type: Bug
          Components: avatica-go
    Affects Versions: 1.34.0
            Reporter: Parag Jain
            Assignee: Francis Chuang


Username and pwd not being propagated in the JDBC context. Had to add the 
following code in the 
[Connect|https://github.com/apache/calcite-avatica-go/blob/main/driver.go#L64] 
method of driver.go to make it work
{code:java}
    if config.avaticaUser != "" {
        c.Info["user"] = config.avaticaUser
    }
    if config.avaticaPassword != "" {
        c.Info["password"] = config.avaticaPassword
    }  {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to