diff --git a/dbm-ui/backend/flow/plugins/components/collections/mysql/filter_database_table_by_flashback_input.py b/dbm-ui/backend/flow/plugins/components/collections/mysql/filter_database_table_by_flashback_input.py index 01250b6146..413fac4359 100644 --- a/dbm-ui/backend/flow/plugins/components/collections/mysql/filter_database_table_by_flashback_input.py +++ b/dbm-ui/backend/flow/plugins/components/collections/mysql/filter_database_table_by_flashback_input.py @@ -64,6 +64,8 @@ def _execute(self, data, parent_data) -> bool: return False databases_filtered = [ele["SCHEMA_NAME"] for ele in db_filter_res[0]["cmd_results"][0]["table_data"]] + if len(databases_filtered) == 0: + databases_filtered.append("") # tables 和 tables_ignore 使用三元操作符返回一个恒真表达式, 简化代码 table_filter_sql = (