diff --git a/test/sql/catalog/view/test_view_schema_change.test b/test/sql/catalog/view/test_view_schema_change.test index ba2bb4f7105d..07567620c7be 100644 --- a/test/sql/catalog/view/test_view_schema_change.test +++ b/test/sql/catalog/view/test_view_schema_change.test @@ -68,3 +68,12 @@ query I SELECT * FROM v1 ---- +# Changing the types of the table that the view references also makes the view unusable + +statement ok +ALTER TABLE t1 ALTER i TYPE VARCHAR; + +statement error +select * from v1; +---- +Binder Error: Contents of view were altered: types don't match!