Repository navigation
Improve tzinfo handling - #1368
Merged
Merged
Conversation
* Emit warning when using the driver's temporal types with tzinfo implementations other than pytz's * Emit warning when serializing tzinfo implementation that may result in a lossy representation. * Fix pandas.Timestamp overflow during serialization
robsdedude
force-pushed
the
feat/tzinfo-check
branch
from
October 30, 2026 21:26
7b25822 to
6d752ce
Compare
robsdedude
marked this pull request as ready for review
November 2, 2026 08:46
robsdedude
marked this pull request as draft
November 2, 2026 08:47
robsdedude
commented
Nov 2, 2026
Zoned datetime values with ambiguous local times (e.g., during a DST shift backwards) using pytz failed to serialize with an ambiguity error raised by pytz.
If no sub-seconds are present, don't emit decimal second positions.
robsdedude
force-pushed
the
feat/tzinfo-check
branch
from
November 30, 2026 15:46
0fbc713 to
d2ab580
Compare
robsdedude
marked this pull request as ready for review
December 1, 2026 08:28
MaxAake
self-requested a review
December 1, 2026 11:31
MaxAake
requested changes
Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DateTime.__eq__andDateTime.__hash__running into overflows when corresponding UTC datetime is out of bounds.DateTime.isoformatomit sub-seconds fractional if.nanoseconds == 0to be more in line withdatetime.Closes: #1365
Closes: DRIVERS-640