sql: can't create a view/sequence inside a multi-region database #61382
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
GA-blocker
Describe the problem
Multi-region databases require tables inside them to have a valid locality config which is enforced through validation. We don't disambiguate based on the descriptor type (views/sequences/tables) when validating this though. As the multi-region syntax is only available for tables, view/sequence descriptors aren't created with a locality config. This fails validation, meaning currently, it is impossible to create views/sequences inside of a multi-region database.
To Reproduce
Expected behavior
It should be possible to create a view/sequence inside a multi-region database.
The text was updated successfully, but these errors were encountered: