cockroachdb / cockroach

CockroachDB - the open source, cloud-native distributed SQL database.

Home Page:https://www.cockroachlabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sql: cannot perform other schema changes concurrently with alter column type

RichardJCai opened this issue · comments

Currently, ALTER COLUMN TYPE cannot be performed concurrently with other schema changes.

For example you cannot add a column while an alter column type is occuring, you cannot alter primary key while alter column type is occuring.

Jira issue: CRDB-5036

Epic CRDB-25314

#49351 covers this

re-opening, since this is referenced here:

47137, "table %s is currently undergoing a schema change", tableDesc.Name)

I feel like this isn't really about wanting the operations to occur concurrently, it's about wanting them to be ordered.