gosnowflake icon indicating copy to clipboard operation
gosnowflake copied to clipboard

SNOW-563221: Crashed when locales files not found

Open jmrobles opened this issue 3 years ago • 0 comments

Issue description

During the session parameters initialization, there is no checking for error in time.LoadLocation image

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

jmrobles avatar Mar 23 '22 10:03 jmrobles