-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fixing MSSQL timestamp type #5511
Conversation
MSSQL is using the wrong type here which results in a strconv.ParseInt: parsing "2018-12-07T00:00:00Z": invalid syntax error. The added datediff(SECOND, '19700101', x) results in the unix timestamp to be returned. Signed-off-by: Christopher Dziomba <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #5511 +/- ##
=========================================
Coverage ? 37.62%
=========================================
Files ? 317
Lines ? 46835
Branches ? 0
=========================================
Hits ? 17624
Misses ? 26708
Partials ? 2503
Continue to review full report at Codecov.
|
@chdxD1 Thanks for the PR. |
MSSQL is using the wrong type here which results in a strconv.ParseInt: parsing "2018-12-07T00:00:00Z": invalid syntax error.
The added datediff(SECOND, '19700101', x) results in the unix timestamp to be returned.
This should fix #5328.