gosnowflake
gosnowflake copied to clipboard
SNOW-563221: Crashed when locales files not found
Issue description
During the session parameters initialization, there is no checking for error in time.LoadLocation

If gosnowflakeruns in a container, probably the image can not include the timezone/locales files.
It's necessary to check for the error and not ignore it.
Example code
N/A
Error log
Crashed when the localLocation is used (convert.go) during the app execution.
panic: tiime: missing Location in call to Time.In
Configuration
Driver version (or git SHA): v1.6.7
Go version: 1.18
Server version: 6.8.1
Client OS: Ubuntu 20.04