Skip to content

Commit db4a60b

Browse files
chore: Bump the driver version to 1.17.1 (#4169)
Bump the driver version to 1.17.1. I verified that the builds with `make release-local-all`. References #4092
1 parent 95b1445 commit db4a60b

File tree

3 files changed

+57
-3
lines changed

3 files changed

+57
-3
lines changed

MIGRATION_GUIDE.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,60 @@ panic: oauth_refresh_token_validity: '' expected type 'int', got unconvertible t
4747

4848
No changes in configuration and state are required.
4949

50+
### *(bugfix)* Fixed panics because of nil pointer dereferences
51+
52+
In v2.8.0, the following error was reported during handling materialized view with lots of records:
53+
<details>
54+
<summary>Expand</summary>
55+
```
56+
Error: Plugin did not respond
57+
The plugin encountered an error, and failed to respond to the
58+
plugin6.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain
59+
more details.
60+
Stack trace from the terraform-provider-snowflake_v2.8.0 plugin:
61+
panic: runtime error: invalid memory address or nil pointer dereference
62+
panic: runtime error: invalid memory address or nil pointer dereference
63+
panic: runtime error: invalid memory address or nil pointer dereference
64+
panic: runtime error: invalid memory address or nil pointer dereference
65+
panic: runtime error: invalid memory address or nil pointer dereference
66+
panic: runtime error: invalid memory address or nil pointer dereference
67+
panic: runtime error: invalid memory address or nil pointer dereference
68+
panic: runtime error: invalid memory address or nil pointer dereference
69+
panic: runtime error: invalid memory address or nil pointer dereference
70+
panic: runtime error: invalid memory address or nil pointer dereference
71+
panic: runtime error: invalid memory address or nil pointer dereference
72+
panic: runtime error: invalid memory address or nil pointer dereference
73+
panic: runtime error: invalid memory address or nil pointer dereference
74+
panic: runtime error: invalid memory address or nil pointer dereference
75+
panic: runtime error: invalid memory address or nil pointer dereference
76+
panic: runtime error: invalid memory address or nil pointer dereference
77+
panic: runtime error: invalid memory address or nil pointer dereference
78+
panic: runtime error: invalid memory address or nil pointer dereference
79+
panic: runtime error: invalid memory address or nil pointer dereference
80+
panic: runtime error: invalid memory address or nil pointer dereference
81+
panic: runtime error: invalid memory address or nil pointer dereference
82+
panic: runtime error: invalid memory address or nil pointer dereference
83+
panic: runtime error: invalid memory address or nil pointer dereference
84+
panic: runtime error: invalid memory address or nil pointer dereference
85+
panic: runtime error: invalid memory address or nil pointer dereference
86+
panic: runtime error: invalid memory address or nil pointer dereference
87+
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x193f359]
88+
goroutine 41 [running]:
89+
github.com/snowflakedb/gosnowflake.postRestfulQueryHelper.func1()
90+
github.com/snowflakedb/[email protected]/restful.go:241 +0x19
91+
panic({0x257d740?, 0x41e1700?})
92+
runtime/panic.go:785 +0x132
93+
github.com/snowflakedb/gosnowflake.postRestfulQueryHelper.func2()
94+
github.com/snowflakedb/[email protected]/restful.go:288 +0x19
95+
panic({0x257d740?, 0x41e1700?})
96+
```
97+
</details>
98+
99+
This was caused by the Go driver dependency. The Go driver fixed this in [v1.17.1](https://docs.snowflake.com/en/release-notes/clients-drivers/golang-2025#version-1-17-1-november-4-2025). We upgraded the driver on our side to that version.
100+
No changes in configuration and state are required.
101+
102+
References [#4092](https://github.com/snowflakedb/terraform-provider-snowflake/issues/4092).
103+
50104
### *(bugfix)* Fixed updating the value of `enabled` in `snowflake_oauth_integration_for_partner_applications` resource
51105

52106
Previously, whenever we detected change for the `enabled` field,

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require (
1616
github.com/hashicorp/terraform-plugin-testing v1.13.2
1717
github.com/jmoiron/sqlx v1.4.0
1818
github.com/pelletier/go-toml/v2 v2.2.4
19-
github.com/snowflakedb/gosnowflake v1.17.0
19+
github.com/snowflakedb/gosnowflake v1.17.1
2020
github.com/stretchr/testify v1.10.0
2121
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78
2222
golang.org/x/crypto v0.41.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ
265265
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
266266
github.com/skeema/knownhosts v1.3.1 h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnBY8=
267267
github.com/skeema/knownhosts v1.3.1/go.mod h1:r7KTdC8l4uxWRyK2TpQZ/1o5HaSzh06ePQNxPwTcfiY=
268-
github.com/snowflakedb/gosnowflake v1.17.0 h1:be50vC0buiOitvneyRHiqNkvPMcunGD3EcTnL2zYATg=
269-
github.com/snowflakedb/gosnowflake v1.17.0/go.mod h1:TaHvQGh9MA2lopZZMm1AvvENDfwcnKtuskIr1e6Fpic=
268+
github.com/snowflakedb/gosnowflake v1.17.1 h1:sBYExPDRv6hHF7fCqeXMT745L326Byw/cROxvCiEJzo=
269+
github.com/snowflakedb/gosnowflake v1.17.1/go.mod h1:TaHvQGh9MA2lopZZMm1AvvENDfwcnKtuskIr1e6Fpic=
270270
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
271271
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
272272
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=

0 commit comments

Comments
 (0)