Skip to content

Commit

Permalink
fix: Make snowflake to remote tables temporary (feast-dev#3588)
Browse files Browse the repository at this point in the history
Signed-off-by: Miles Adkins <miles.adkins@snowflake.com>
Signed-off-by: zerafachris PERSONAL <zerafachris@gmail.com>
  • Loading branch information
sfc-gh-madkins authored and zerafachris committed Mar 5, 2024
1 parent a44591f commit 1ba69c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/feast/infra/offline_stores/snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ def to_remote_storage(self) -> List[str]:
)

table = f"temporary_{uuid.uuid4().hex}"
self.to_snowflake(table)
self.to_snowflake(table, temporary=True)

query = f"""
COPY INTO '{self.export_path}/{table}' FROM "{self.config.offline_store.database}"."{self.config.offline_store.schema_}"."{table}"\n
Expand Down

0 comments on commit 1ba69c2

Please sign in to comment.