Skip to content

Commit 737373f

Browse files
committed
Revert driver name back to godatabrickssqlconnector
Server-side validation requires this exact name. Changing to a different name causes connection failures: 'Client databricks-sql-go/1.9.0 is not supported for SQL warehouses' The driver name is validated server-side against a whitelist. We must use the registered name 'godatabrickssqlconnector' for compatibility. Note: Telemetry uses 'databricks-sql-go' internally which is fine since it's not sent to the SQL warehouse endpoint. Signed-off-by: Samikshya Chand <samikshya.chand@databricks.com> Signed-off-by: samikshya-chand_data <samikshya.chand@databricks.com>
1 parent 4c57151 commit 737373f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func WithDefaults() *Config {
200200
ClientTimeout: 900 * time.Second,
201201
PingTimeout: 60 * time.Second,
202202
CanUseMultipleCatalogs: true,
203-
DriverName: "databricks-sql-go",
203+
DriverName: "godatabrickssqlconnector", // Server requires this exact name for validation
204204
ThriftProtocol: "binary",
205205
ThriftTransport: "http",
206206
ThriftProtocolVersion: cli_service.TProtocolVersion_SPARK_CLI_SERVICE_PROTOCOL_V8,

0 commit comments

Comments
 (0)