SNOW-1504369: Time value regression after 3.13.31 #1805
Labels
bug
status-information_needed
Additional information is required from the reporter
status-triage_done
Initial triage done, will be further handled by the driver team
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of JDBC driver are you using?
3.13.30 vs 3.13.34 [31]
What operating system and processor architecture are you using?
Win11/Talend studio
What version of Java are you using?
11/17
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
Create a table with TIME column
Insert value 00:00:44 and do the plain select via jdbc driver (ResultSet::getTime)
with 3.13.30 it's 44580 for me and starting from 3.13.31 it's -10755420
value is the same
What should have happened and what happened instead?
value has changed
I did some research and it seems it's starting from #1383
Before BigIntToTimeConverter returned a UTC time value with timezone, and after it's already the timezoned value for java.sql.Time
The deactivation of
useSessionTimezone
flag might help but would affect other columns' values.The text was updated successfully, but these errors were encountered: