-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
38663: sql: add support for NOT VALID Foreign Key constraints r=Tyler314 a=Tyler314 Implemented the support of not validating an ALTER TABLE foreign key constraint to a table. Within alter_table.go we set the validity of the foreign key reference to be unvalidated, and within shema_changer.go we then check the case where the foreign key being added is unvalidated and do not check its validity. This allows users to create a reference between two non-empty tables who's entries don't comply with the constraint when it's first added. 38827: opt: specify hash joins in EXPLAIN (OPT) r=RaduBerinde a=RaduBerinde In EXPLAIN (OPT), joins that have no mention (like `merge` or `lookup`) are executed as hash joins. Make this explicit, for the benefit of usage outside of the opt team. Release note: None Co-authored-by: craig[bot] <[email protected]> Co-authored-by: Tyler314 <[email protected]> Co-authored-by: Radu Berinde <[email protected]>
- Loading branch information
Showing
64 changed files
with
1,393 additions
and
808 deletions.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.