Skip updating schemas of tables that are skipped for deploys (#6410)
This commit is contained in:
Родитель
1963d52aa5
Коммит
03e88b1875
|
@ -1775,6 +1775,13 @@ def update(
|
|||
query_files = paths_matching_name_pattern(
|
||||
name, sql_dir, project_id, files=["query.sql"]
|
||||
)
|
||||
# skip updating schemas that are not to be deployed
|
||||
query_files = [
|
||||
query_file
|
||||
for query_file in query_files
|
||||
if str(query_file)
|
||||
not in ConfigLoader.get("schema", "deploy", "skip", fallback=[])
|
||||
]
|
||||
dependency_graph = get_dependency_graph([sql_dir], without_views=True)
|
||||
manager = multiprocessing.Manager()
|
||||
tmp_tables = manager.dict({})
|
||||
|
|
Загрузка…
Ссылка в новой задаче