-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Improved Compatibility Around LAST_INSERT_ID - evalengine #17409
base: main
Are you sure you want to change the base?
Conversation
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
6fcd9e1
to
b6295b7
Compare
c7364f5
to
e133d2f
Compare
c270b66
to
a18dc21
Compare
This PR should handle all the insert cases for |
a18dc21
to
42d8530
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17409 +/- ##
==========================================
- Coverage 67.67% 67.66% -0.01%
==========================================
Files 1583 1584 +1
Lines 254363 254400 +37
==========================================
+ Hits 172140 172152 +12
- Misses 82223 82248 +25 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Vicent Marti <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
87cda2d
to
b6c6b3f
Compare
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.
It truly is a feat of modern engineering.
Validate if all the cases of |
Signed-off-by: Harshit Gangal <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
Description
This PR improves
last_insert_id(x)
behavior to align more closely with MySQL in various scenarios.Here we are adding capability for the evalengine to handle
last_insert_id(x)
queries in vtgate. This enables runningdual
only queries without having to send it down to mysql, such as:It also enables handling situations where the value is calculated in the vtgate and not something MySQL sends to us, like aggregation across shards:
This PR contains commits from #17408
Related Issue(s)
Checklist