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>
  • Loading branch information
sfc-gh-madkins authored Apr 21, 2023
1 parent ffd50fd commit ad48146
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 ad48146

Please sign in to comment.