-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
types: refine the parsing logic of INTERVAL to correct DATE_ADD/DATE_SUB #9874
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9874 +/- ##
================================================
+ Coverage 77.5253% 77.5397% +0.0144%
================================================
Files 404 404
Lines 81732 81562 -170
================================================
- Hits 63363 63243 -120
+ Misses 13662 13644 -18
+ Partials 4707 4675 -32 |
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
@zz-jason PTAL |
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
/run-all-tests |
date_add
and date_sub
are incompatible with Mysql
@b41sh please cherry pick this PR to release-2.1 |
ok |
What problem does this PR solve?
fix #9715, the problem that
date_add
anddate_sub
are incompatible with MySQL.What is changed and how it works?
modify
extractDayHour
andextractYearMonth
function to compatible with MysqlCheck List
Tests