-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
opt: ON UPDATE cascades for Upsert #49804
Conversation
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.
Reviewed 8 of 8 files at r1.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @RaduBerinde)
pkg/sql/logictest/testdata/logic_test/cascade, line 3910 at r1 (raw file):
statement ok UPSERT INTO parent VALUES (1, 1)
Consider adding a comment to explain what this is testing
Making some updates that were made only to the `cascade` version. Release note: None
This change implements ON UPDATE actions for Upsert operations. The existing machinery for Update can be used without modification. Release note: None
c1c3703
to
185c0ab
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.
Reviewable status: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @rytaft)
pkg/sql/logictest/testdata/logic_test/cascade, line 3910 at r1 (raw file):
Previously, rytaft (Rebecca Taft) wrote…
Consider adding a comment to explain what this is testing
Done. I also added a couple of more tests and added (in a separate commit) some changes that were made only to the cascade
file.
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.
Reviewed 8 of 8 files at r2, 8 of 8 files at r3.
Reviewable status: complete! 1 of 0 LGTMs obtained
bors r+ |
Timed out |
bors r+ |
Merge conflict (retrying...) |
Build succeeded |
This change implements ON UPDATE actions for Upsert operations. The existing
machinery for Update can be used without modification.
Release note: None