You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in connection.go 499 it is assumed that the time zone offset of vertica is an integer number of hours. for time zones like india (+530) this code fails. attempts after that to read a timestamp from the database fail because the appended time zone information is incomplete.
a fix would be something like:
func getTimeZoneOffset(str string) string {
for i := len(str) - 1; i >= 0 && i >= len(str)-8; i-- {
ch := str[i]
if ch == '+' || ch == '-' {
return str[i:]
}
}
return "+00"
}
many thanks!
The text was updated successfully, but these errors were encountered:
Hi!
in connection.go 499 it is assumed that the time zone offset of vertica is an integer number of hours. for time zones like india (+530) this code fails. attempts after that to read a timestamp from the database fail because the appended time zone information is incomplete.
a fix would be something like:
many thanks!
The text was updated successfully, but these errors were encountered: