-
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
sqlparser: Use KEY instead of INDEX for normalized form #14416
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dbussink
requested review from
harshit-gangal,
systay,
GuptaManan100 and
deepthi
as code owners
November 1, 2023 08:49
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
|
vitess-bot
bot
added
NeedsDescriptionUpdate
The description is not clear or comprehensive enough, and needs work
NeedsIssue
A linked issue is missing for this Pull Request
NeedsWebsiteDocsUpdate
What it says
labels
Nov 1, 2023
dbussink
removed
NeedsDescriptionUpdate
The description is not clear or comprehensive enough, and needs work
NeedsWebsiteDocsUpdate
What it says
NeedsIssue
A linked issue is missing for this Pull Request
labels
Nov 1, 2023
shlomi-noach
approved these changes
Nov 1, 2023
GuptaManan100
approved these changes
Nov 1, 2023
vmg
approved these changes
Nov 1, 2023
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.
Normalizing in either direction is fine. Whatever causes fewer conflicts with Singularity! 👌
dbussink
force-pushed
the
dbussink/keep-key-name
branch
from
November 1, 2023 09:18
06c5990
to
9afa5d5
Compare
dbussink
requested review from
mattlord,
rohit-nayak-ps,
frouioui,
arthurschreiber and
ajm188
as code owners
November 1, 2023 09:18
dbussink
force-pushed
the
dbussink/keep-key-name
branch
from
November 1, 2023 09:52
9afa5d5
to
c4252a9
Compare
harshit-gangal
approved these changes
Nov 1, 2023
This matches how MySQL behaves for example in `SHOW CREATE TABLE`. This is the kind of output format we want to match if we reasonably can, also to simplify and `schemadiff` more friendly to use. Signed-off-by: Dirkjan Bussink <[email protected]>
dbussink
force-pushed
the
dbussink/keep-key-name
branch
from
November 1, 2023 10:17
c4252a9
to
e5d5910
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This matches how MySQL behaves for example in
SHOW CREATE TABLE
. This is the kind of output format we want to match if we reasonably can, also to simplify andschemadiff
more friendly to use.Related Issue(s)
Behavior changed in #14177 but I don't think we want this specific change from that refactor.
Checklist