Support partial UniqueWithoutIndex referencing types #96678
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Today, we didn't correctly support UniqueWithoutIndex constraint that references another user-defined
type, both in the legacy and declarative schema changer.
Namely, if we add the unique_without_index constraint as follows:
Then we inspect the type descriptor
we will see there is no back-reference from this type descriptor
typ
back to tablet
.This happens both in the legacy and declarative schema changer.
Jira issue: CRDB-24273
The text was updated successfully, but these errors were encountered: