Skip to content

Commit dcdd2c6

Browse files
author
Vitor Fortunato
committed
fix: [dix-4014] support permanent stage for merge
1 parent dad0884 commit dcdd2c6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

snowflake_utils/models/table.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ def merge(
368368
qualify: bool = False,
369369
files: list[str] | None = None,
370370
copy_grants: bool = True,
371+
stage: str | None = None,
371372
) -> None:
372373
def copy_callable(table: Table, sync_tags: bool) -> None:
373374
return table.copy_into(
@@ -378,6 +379,7 @@ def copy_callable(table: Table, sync_tags: bool) -> None:
378379
sync_tags=sync_tags,
379380
files=files,
380381
copy_grants=copy_grants,
382+
stage=stage,
381383
)
382384

383385
return self._merge(copy_callable, primary_keys, replication_keys, qualify)

0 commit comments

Comments
 (0)