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