From 0a05844a23216824716a933973995191f39f5dfd Mon Sep 17 00:00:00 2001 From: Shanicky Chen Date: Sat, 9 Dec 2023 23:45:17 +0800 Subject: [PATCH] Add comment about dropping sink into table not compatible with cascade drop. --- src/meta/src/manager/catalog/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/meta/src/manager/catalog/mod.rs b/src/meta/src/manager/catalog/mod.rs index db5183a39b69b..498325660cb04 100644 --- a/src/meta/src/manager/catalog/mod.rs +++ b/src/meta/src/manager/catalog/mod.rs @@ -1453,6 +1453,7 @@ impl CatalogManager { }) .collect_vec(); + // Since dropping the sink into the table requires the frontend to handle some of the logic (regenerating the plan), it’s not compatible with the current cascade dropping. if !table_sinks.is_empty() { bail!( "Found {} sink(s) into table in dependency, please drop them manually",