-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNOW-1504369: Time value regression after 3.13.31 #1805
Comments
Hi @dmytro-sylaiev, Thank you for opening this issue. I checked out the main branch and tried to reproduce what you're seeing with the following code:
That test passes, so I'm not observing the same issue you are. What is the
Have you tested this with JDBC driver version 3.16.1? |
Hey @dmytro-sylaiev, Did you get the chance to look over my last comment? |
I'm going to close this issue since there are no updates. If you still need help with this then please feel free to reopen this issue again with more information. |
Hello @sfc-gh-wfateem I understand that executing "Alter session set JDBC_USE_SESSION_TIMEZONE=false" may help. But can this produce any side effects? |
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: