go-gorp / gorp

Go Relational Persistence - an ORM-ish library for Go
MIT License
3.74k stars 372 forks source link

dialect_snowflake_test.go uses an unsupported type #451

Open zachburg opened 3 weeks ago

zachburg commented 3 weeks ago

In https://github.com/go-gorp/gorp/blob/main/dialect_snowflake_test.go, there is a test case for checking the SQL type of []uint8{1}, except bytea is not a supported type by Snowflake: https://docs.snowflake.com/en/sql-reference/intro-summary-data-types.

If updated to binary instead of bytea, this test will pass.

zachburg commented 3 weeks ago

Pending PR: https://github.com/go-gorp/gorp/pull/452