You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Parag Jain (Jira)" <ji...@apache.org> on 2023/06/05 13:55:00 UTC
[jira] [Created] (CALCITE-5753) User and pwd not being propagated to JDBC context from go driver
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)