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.
sql: Added SELECT query and CTAS timestamp fields to TableDescriptor
CTAS was initially planned and executed in the same user transaction. As a first step in improving its performance and scalability (issue cockroachdb#25828) we needed to split the responsibility of creating a new TableDescriptor, and executing the AS query. While the user txn continues to create and store the new desc, the execution has been made async by moving the logic to the SchemaChanger. This requires the SchemaChanger to be able to bootstrap its state from the desc it reads, thereby requiring the addition of these fields. Release note: None
- Loading branch information
1 parent
8dc92a6
commit 87a618f
Showing
10 changed files
with
111 additions
and
60 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.