Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: Make snowflake to remote tables temporary
Signed-off-by: Miles Adkins <miles.adkins@snowflake.com>
  • Loading branch information
sfc-gh-madkins committed Apr 5, 2023
commit 27170bf2e59cb06ca1aaf9ecc253d0c4833d328a
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