-
Notifications
You must be signed in to change notification settings - Fork 912
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
[FEA] convert_datetime.cu should use proper chrono types for timestamp/duration handling #9812
Comments
This issue has been labeled |
This issue has been labeled |
This issue has been labeled |
It appears the chrono classes do not handle negative timestamps cudf/cpp/src/strings/convert/convert_datetime.cu Lines 720 to 724 in dad51a5
The chrono classes are being used wherever possible: cudf/cpp/src/strings/convert/convert_datetime.cu Lines 315 to 320 in dad51a5
cudf/cpp/src/strings/convert/convert_datetime.cu Lines 598 to 601 in dad51a5
and have been helpful in handling tricky calculations like:
I don't believe there is anything left in this file that can benefit from the chrono classes. |
Is your feature request related to a problem? Please describe.
The functionality in
convert_datetime.cu
parses timestamps using plain integers instead ofchrono
types. This should be avoided as it leads to problems like this: #9793Describe the solution you'd like
Use appropriate
chrono
types and functionsThe text was updated successfully, but these errors were encountered: