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: