snowflake-cli
snowflake-cli copied to clipboard
SNOW-1634816: snow streamlit deploy --replace doesn't remove deleted files from the internal stage
SnowCLI version
2.7
Python version
Python 3.9.10
Platform
Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.31
What happened
On running snow streamlit deploy --replace, the current set of files in local env should be moved to Snowflake Internal Stage and the deleted files from local should get removed from internal stage.
Currently the files deleted from local still persists within the Snowflake Internal Stage.
Console output
No response
How to reproduce
Deploy a streamlit app with some sets of files.
Remove/Rename some files and re deploy.
Existing removed/renamed files will still exists in Snowflake