-
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.
53562: sql: add the `tableoid` system column r=rohany a=rohany This commit adds the `tableoid` system column. While doing so, it fixes some bugs and ergonomics around creating new system columns. In particular, the existing strategy for producing system columns during scans was deficient. It would pass to the processor the set of system columns that was desired, while the processor itself would be set with a series of column ordinals to produce from the scan. These ordinals didn't line up well with the set of desired system columns when the desired system columns were more than just the set of the mvcc_timestamp column. This commit changes the strategy to just mark when system columns are desired, and add all registered system columns to the candidate set of columns used to resolve ordinals. This commit also makes adding system columns a bit more automatic, rather than requiring users to add cases in multiple functions. Release justification: bug fixes and low-risk updates to new functionality Release note (sql change): Add the `tableoid` system column. Co-authored-by: Rohan Yadav <[email protected]>
- Loading branch information
Showing
36 changed files
with
1,072 additions
and
1,083 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.