SNOW-1061246 "account" parameter is always required by sf.DSN
?
#1054
Labels
status-triage_done
Initial triage done, will be further handled by the driver team
sf.DSN
?
#1054
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of GO driver are you using
v1.7.2
What operating system and processor architecture are you using?
darwin/arm64
What version of GO are you using?
go version go1.22.0 darwin/arm64
Server version:* E.g. 1.90.1
8.6.2
What did you do?
Tried to use
sf.DSN
to make a connection string from a*sf.Config
, using ahost
that includes the account name, and it still requires that a separateaccount
parameter be set, even though this should be optional from what I'm seeing here, since the account identifier is specified after the "@" sign, as part of the host.This code produces an error
260000: account is empty
Ideally this would create a connection string without an
account
parameter, and include the host.For example, this code works:
It outputs this connection string:
user:password@<orgname>-<account_name>.snowflakecomputing.com:443?account=account&ocspFailOpen=true&validateDefaultParameters=true
What I'd like is a way to get a connection string like this:
user:password@<orgname>-<account_name>.snowflakecomputing.com:443?ocspFailOpen=true&validateDefaultParameters=true
N/A
N/A
The text was updated successfully, but these errors were encountered: