-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
fix: add format for timestamp in crdb to correctly use times values #24711
Conversation
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.
Thanks @elewis787 for the PR. Would you mind adding some unit tests? You can look at other DB engine specs for an example of how to do this. |
Codecov Report
@@ Coverage Diff @@
## master #24711 +/- ##
==========================================
- Coverage 68.97% 68.92% -0.05%
==========================================
Files 1901 1902 +1
Lines 74008 73949 -59
Branches 8183 8176 -7
==========================================
- Hits 51047 50971 -76
- Misses 20840 20865 +25
+ Partials 2121 2113 -8
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 12 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
sure - and I will update the link errors. |
@john-bodley tests have been added and fixed lint error for the db spec file. |
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.
Looks great, thank you @elewis787!
Thanks @eschutho - I pushed a few updates to hopefully fix the few linit errors that came up. |
remove dttm. Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
This reverts commit 66e9b56.
@john-bodley / @eschutho Any updates on this ? |
Not sure what's going on with CI here, I will close & reopen to try to trigger it |
@john-bodley and @eschutho can one of you peek at this and merge if OK? Looks like the feedback has been addressed and CI has passed now that I kicked it (it had stalled 3 weeks ago). |
…pache#24711) Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
…pache#24711) Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
…pache#24711) Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
SUMMARY
This PR fixes #15825
TESTING INSTRUCTIONS
To test this, the following steps can be taken
This has been tested in master and version 2.1.0 with python 3.11.
In version 2.1.0 there were code changes needed to the
dict
type, this is due to a python version that was being used in the docker images of version 2.1.0.ADDITIONAL INFORMATION