You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a table is truncated, new IDs are assigned to all its indexes.
However, we previously failed to update any existing back-references to these
index IDs in the table descriptor. This prevented the truncate from
succeeding.
This change ensures that all references to old index IDs are properly
remapped to the new ones, which allows the truncate to succeed.
Fixes#146065
Epic: none
Release note (bug fix): Fixed a bug that prevented TRUNCATE from
succeeding if any indexes on the table had back-reference dependencies,
such as from a view or function referencing the index.
0 commit comments