FIX: use WithHigherPrecision context to ensure Query returns natural type rather than string.
See snowflakedb/gosnowflake#517 (comment)
Reproducible code for gosnowflake issue.
Run go build .
to build. Then run ./gosnowflake-bug-reproduce
to reproduce the bug.
Note: make sure env vars SNOWFLAKE_TEST_ACCOUNT
, SNOWFLAKE_TEST_USER
and SNOWFLAKE_TEST_PASSWORD
are configured correctly.