forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
58110: opt: add OptionalColList type r=RaduBerinde a=RaduBerinde I am open to better suggestions for the name. #### opt: change ColSetToList() func to a ToList() method Release note: None #### opt: add OptionalColList type For mutations, we use ColLists that map 1-to-1 to table columns, and where some of the entries in the list can be 0. This is really meant to represent a mapping of columns and it is an abuse of the ColList type (which is supposed to be a simple list of columns). We add a separate OptionalColList type which has the desired semantics. This helps clarify things a bit (in particular it is now obvious which of the lists are "real" lists and which are "mappings"). It will also allow a different ToSet() method which makes sense for this structure (i.e. doesn't put 0 in the set). Release note: None Co-authored-by: Radu Berinde <[email protected]>
- Loading branch information
Showing
13 changed files
with
162 additions
and
101 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
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.