-
Notifications
You must be signed in to change notification settings - Fork 120
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
feat: Cater for ExtractEpochSeconds overflowing integer #1397
feat: Cater for ExtractEpochSeconds overflowing integer #1397
Conversation
…mn-postgresql-epoch-seconds-exception
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.
Could you please add tests for MySQL max timestamp.
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.
Would have loved to have some test data with the max MySQL Timestamp - i.e. 3001-01-19 03:14:07.999999 - one way I suggest is to put it in its own row and filter it out using --fliter for those engines that it does not make sense I am wondering - might we have an issue like 1396, where the combiner has a fit.
Thank you.
Sundar Mudupalli
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, you were absolutely right that MySQL falls into the same issue as other engines for min/max. I made a mistake when excluding the low/high columns, the limitation only applies to SUM.
I've rectified this mistake. Good spot.
/gcbrun |
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. Thanks for re-organizing the addon library as well
Mike reviewed during vacation
/gcbrun |
This PR fixes
ExtractEpochSeconds
for PostgreSQL, Teradata and SQL Server.It also adds tests for large ranges of values for
ExtractEpochSeconds
to have to deal with.