-
Notifications
You must be signed in to change notification settings - Fork 197
Support zoned datetimes in query modules #3121
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
colinbarry
merged 44 commits into
master
from
feat/support-zoned-date-time-in-query-modules
Aug 20, 2025
Merged
Support zoned datetimes in query modules #3121
colinbarry
merged 44 commits into
master
from
feat/support-zoned-date-time-in-query-modules
Aug 20, 2025
Conversation
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
Contributor
Author
Tracking
Standard development
CI Testing Labels
Documentation checklist
|
4e294eb to
e82a209
Compare
45eb563 to
bafaaaf
Compare
Work in progress for minimal support of zoned-date-times, with the goal of being able to use them in query modules.
This will be put back in another PR, because implementing it is beyond the scope (and time) of this one.
99d4c4d to
1b420ab
Compare
Josipmrden
reviewed
Aug 20, 2025
as51340
approved these changes
Aug 20, 2025
Contributor
as51340
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
81 tasks
11 tasks
as51340
pushed a commit
that referenced
this pull request
Oct 24, 2025
Add support for `ZonedDateTime` types in query modules. - `ZonedDateTime` with a timezone (either numeric offset or named time identifier) can be passed to query modules. - Any `datetime`s returned by a Python query module will be converted into a `ZonedDateTime` if they have a valid `timezone` `tzinfo`, otherwise, they will be treated as `LocalDateTime`s.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CI -build=community -test=core
Run community build and core tests on push
CI -build=coverage -test=core
Run coverage build and core tests on push
CI -build=debug -test=core
Run debug build and core tests on push
CI -build=jepsen -test=core
Run jepsen build and core tests on push
CI -build=release -test=core
Run release build and core tests on push
CI -build=release -test=e2e
Run release build and e2e tests on push
CI -build=release -test=query_modules
Run release build and query modules tests on push
CI -build=release -test=stress
Run release build and stress tests on push
community
community
Docs needed
Docs needed
documentation
documentation
feature
feature
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.



Add support for
ZonedDateTimetypes in query modules.ZonedDateTimewith a timezone (either numeric offset or named time identifier) can be passed to query modules.datetimes returned by a Python query module will be converted into aZonedDateTimeif they have a validtimezonetzinfo, otherwise, they will be treated asLocalDateTimes.