-
Notifications
You must be signed in to change notification settings - Fork 33
fix: ensure datetime uses nano seconds #529
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
base: main
Are you sure you want to change the base?
Conversation
d0b1a84 to
407bcf6
Compare
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.
This looks really good but I think this should be an optional feature. Can we enable it with an env var? Users could theoretically have data that precedes 1970 I think. We could even turn on nanosecond support by default but give users the option to use the old system, if they choose.
86c95fe to
3ad2c7d
Compare
3ad2c7d to
c5c07f3
Compare
I added the |
jonhealy1
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.
Nice work! Thanks
Description:
Change
datetimefield type fromdatetodate_nanosto ensure millisecond precision in datetime filter instead of truncation, for example024999Zbecomes024Z. Also enforce 1970-2262 date boundaries required by the date_nanos resolution.PR Checklist:
pre-commit run --all-files)make test)