Skip to content

Commit

Permalink
Merge pull request #496 from snowflakedb/SNOW-502079_golang_connector…
Browse files Browse the repository at this point in the history
…_version_bump

Snow 502079 golang connector version bump
  • Loading branch information
sfc-gh-kdama authored Nov 16, 2021
2 parents e0fa2d3 + a2af091 commit da3c778
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions connection_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func (sc *snowflakeConn) connectionTelemetry(cfg *Config) {
data := &telemetryData{
Message: map[string]string{
typeKey: connectionParameters,
sourceKey: telemetrySource,
driverTypeKey: "Go",
driverVersionKey: SnowflakeGoDriverVersion,
},
Expand Down
1 change: 1 addition & 0 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func (se *SnowflakeError) generateTelemetryExceptionData() *telemetryData {
data := &telemetryData{
Message: map[string]string{
typeKey: sqlException,
sourceKey: telemetrySource,
driverTypeKey: "Go",
driverVersionKey: SnowflakeGoDriverVersion,
stacktraceKey: maskSecrets(string(debug.Stack())),
Expand Down
2 changes: 2 additions & 0 deletions telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const (

const (
typeKey = "type"
sourceKey = "source"
queryIDKey = "QueryID"
driverTypeKey = "DriverType"
driverVersionKey = "DriverVersion"
Expand All @@ -30,6 +31,7 @@ const (
)

const (
telemetrySource = "golang_driver"
sqlException = "client_sql_exception"
connectionParameters = "client_connection_parameters"
)
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
package gosnowflake

// SnowflakeGoDriverVersion is the version of Go Snowflake Driver.
const SnowflakeGoDriverVersion = "1.6.3"
const SnowflakeGoDriverVersion = "1.6.4"

0 comments on commit da3c778

Please sign in to comment.