Skip to content

[client-v2] Fix: null TimeZone Exception #1781

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

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Conversation

BeenAxis
Copy link
Contributor

@BeenAxis BeenAxis commented Aug 21, 2024

Summary

Possible fix for #1780
As I understand it, this field will not be null if you have explicitly specified time zone in the database.
To fix this, i just repeated the code that was above, because I don’t think that the functionality in the JVM can depend on the bit depth of DateTime
Maybe it's just a typo?

Closes #1780

Checklist

Delete items not relevant to your PR:

@CLAassistant
Copy link

CLAassistant commented Aug 21, 2024

CLA assistant check
All committers have signed the CLA.

@chernser chernser changed the title fix: null TimeZone Exception [client-v2] Fix: null TimeZone Exception Aug 21, 2024
@chernser chernser merged commit 4fefbb9 into ClickHouse:main Aug 21, 2024
60 of 65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot invoke "java.util.TimeZone.toZoneId()" because "tz" is null in client-v2
3 participants