-
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
Add support for row_alias
syntax added in MySQL 8.0.19.
#15510
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
|
Unit tests are failing due to some whitespace changes I accidentally committed. Will fix that later. |
Signed-off-by: Arthur Schreiber <[email protected]>
6440c7c
to
ebe5b70
Compare
row_alias
syntax added in MySQL 8.0.19.row_alias
syntax added in MySQL 8.0.19.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15510 +/- ##
==========================================
+ Coverage 68.12% 68.14% +0.01%
==========================================
Files 1556 1556
Lines 195019 195028 +9
==========================================
+ Hits 132858 132903 +45
+ Misses 62161 62125 -36 ☔ View full report in Codecov by Sentry. |
Looks like this increases the number of shift/reduce conflicts from 3 to 7? 🤔 I'm not quite sure why, if anyone could give me a few pointers on how to fix that, I'd be happy to take a stab at it. |
@GuptaManan100 is probably the subject matter expert on this topic. |
Okay, I think I understand where the conflicts are coming from. The The good thing here is that the row alias syntax can only be used with I also noticed that the way |
The change to upserts (rails#51274) is causing an issue with Vitess, since it doesn't support the `row_alias` syntax added in MySQL 8.0.19. There is an ongoing work (vitessio/vitess#15510) to add that support and it is likely to be included into Vitess v20, but in the meantime it would be nice to have an ability to control that behavior in the existing apps.
The change to upserts (rails#51274) is causing an issue with Vitess, since it doesn't support the `row_alias` syntax added in MySQL 8.0.19. There is an ongoing work (vitessio/vitess#15510) to add that support and it is likely to be included into Vitess v20, but in the meantime it would be nice to have an ability to control that behavior in the existing apps.
The change to upserts (rails#51274) is causing an issue with Vitess, since it doesn't support the `row_alias` syntax added in MySQL 8.0.19. There is an ongoing work (vitessio/vitess#15510) to add that support and it is likely to be included into Vitess v20, but in the meantime it would be nice to have an ability to control that behavior in the existing apps.
I'm looking into it |
The change to upserts (rails#51274) is causing an issue with Vitess, since it doesn't support the `row_alias` syntax added in MySQL 8.0.19. There is an ongoing work (vitessio/vitess#15510) to add that support and it is likely to be included into Vitess v20, but in the meantime it would be nice to have an ability to control that behavior in the existing apps.
The change to upserts (rails#51274) is causing an issue with Vitess, since it doesn't support the `row_alias` syntax added in MySQL 8.0.19. There is an ongoing work (vitessio/vitess#15510) to add that support and it is likely to be included into Vitess v20, but in the meantime it would be nice to have an ability to control that behavior in the existing apps.
…ntax Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
The change to upserts (rails#51274) is causing an issue with Vitess, since it doesn't support the `row_alias` syntax added in MySQL 8.0.19. There is an ongoing work (vitessio/vitess#15510) to add that support and it is likely to be included into Vitess v20, but in the meantime it would be nice to have an ability to control that behavior in the existing apps.
The change to upserts (rails#51274) is causing an issue with Vitess, since it doesn't support the `row_alias` syntax added in MySQL 8.0.19. There is an ongoing work (vitessio/vitess#15510) to add that support and it is likely to be included into Vitess v20, but in the meantime it would be nice to have an ability to control that behavior in the existing apps.
The change to upserts (rails#51274) is causing an issue with Vitess, since it doesn't support the `row_alias` syntax added in MySQL 8.0.19. There is an ongoing work (vitessio/vitess#15510) to add that support and it is likely to be included into Vitess v20, but in the meantime it would be nice to have an ability to control that behavior in the existing apps.
The change to upserts (rails#51274) is causing an issue with Vitess, since it doesn't support the `row_alias` syntax added in MySQL 8.0.19. There is an ongoing work (vitessio/vitess#15510) to add that support and it is likely to be included into Vitess v20, but in the meantime it would be nice to have an ability to control that behavior in the existing apps.
Description
This pull request adds support for the
row_alias
syntax added in MySQL 8.0.19 forINSERT INTO
statements.Related Issue(s)
#15509
Checklist
Deployment Notes