-
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.
63411: opt: make check constraint and partial index columns anonymous r=mgartner a=mgartner #### opt: make check constraint and partial index columns anonymous This commit updates optbuilder so that synthesized columns used for maintaining check constraints and partial indexes are anonymized in the scope resulting from their projection. This prevents these columns from being found in the scope when resolving columns while building expressions. This simplifies some code and eliminates a class of bugs that can cause "ambiguous column" errors when a user's table has column names that match the synthesized column names. Now that these synthesized columns are anonymous, there cannot be ambiguity between them and table columns. Release note: None #### opt: simplify partial index PUT/DEL column building Previously, the scopes to build synthesized partial index PUT and DEL columns were passed as input the building functions. They were always called with `mb.outScope` or `mb.fetchScope`, so there was no need to provide them as arguments. The building functions no longer accept any arguments. Release note: None 63638: gcjob: share ClearRange logic for tables and indexes r=pbardea a=ajwerner No obvious reason to keep these separate. Release note: None 63645: scripts: allow GCEWORKER_USER env to override ssh user r=RaduBerinde a=cucaroach fixes #63641 63652: kv/kvserver: skip TestClosedTimestampWorksWhenRequestsAreSentToNonLeaseHolders r=RaduBerinde a=RaduBerinde Refs: #60682 Reason: flaky test Generated by bin/skip-test. Release justification: non-production code changes Release note: None Co-authored-by: Marcus Gartner <[email protected]> Co-authored-by: Andrew Werner <[email protected]> Co-authored-by: Tommy Reilly <[email protected]> Co-authored-by: Radu Berinde <[email protected]>
- Loading branch information
Showing
9 changed files
with
210 additions
and
196 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
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.