sql: truncate fails when an index is referenced by a view #85230
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)
Projects
Describe the problem
When an index is referenced by a view, we fail to
TRUNCATE
the table containing the index with an unclassified error.To Reproduce
Results in:
Expected behavior
TRUNCATE
works. We need to rewrite the index references in the dependencies.Jira issue: CRDB-18122
The text was updated successfully, but these errors were encountered: