From 35544849b6f695e3d14578a96a3d06d0fde0640f Mon Sep 17 00:00:00 2001 From: yuanruji Date: Mon, 9 Dec 2024 15:11:44 +0800 Subject: [PATCH] 111 --- .../flow/engine/bamboo/scene/mysql/import_sqlfile_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbm-ui/backend/flow/engine/bamboo/scene/mysql/import_sqlfile_flow.py b/dbm-ui/backend/flow/engine/bamboo/scene/mysql/import_sqlfile_flow.py index 7a5bc62e26..ed4b1f3ea8 100644 --- a/dbm-ui/backend/flow/engine/bamboo/scene/mysql/import_sqlfile_flow.py +++ b/dbm-ui/backend/flow/engine/bamboo/scene/mysql/import_sqlfile_flow.py @@ -193,7 +193,7 @@ def sql_semantic_check_flow(self): # parse db from sqlfile sqlfile_list = itertools.chain(*[set(obj["sql_files"]) for obj in self.data["execute_objects"]]) path = self.data["path"] - resp = parse_db_from_sqlfile(path=path, files=sqlfile_list) + resp = parse_db_from_sqlfile(path=path, files=list(sqlfile_list)) if resp is None: logger.warning("root id:[{}]parse db from sqlfile resp is None,set dump_all to True.".format(self.root_id)) else: