v2.0.0rc0
Pre-releaseBackward incompatibility
-
Introduced
snow object
group withshow
,describe
anddrop
commands which replaces corresponding
functionalities of procedure/function/streamlit specific commands. -
snow stage
is nowsnow object stage
-
snow stage get
andsnow stage put
are replaced bysnow object stage copy [FROM] [TO]
-
snow warehouse status
is nowsnow object show warehouse
-
snow connection test
now outputs all connection details (except for the password), along with connection status -
snow sql
requires explicit-i
flag to read input from stdin:cat my.sql | snow sql -i
-
Switched to Python Connector default connection https://docs.snowflake.com/en/developer-guide/python-connector/python-connector-connect#setting-a-default-connection
- Default connection name changed from
dev
todefault
- Environment variable for default connection name changed from
SNOWFLAKE_OPTIONS_DEFAULT_CONNECTION
toSNOWFLAKE_DEFAULT_CONNECTION_NAME
- Default connection name changed from
-
Snowpark changes
- Removed
procedure
andfunction
subgroups. - Removed
snow snowpark function package
andsnow snowpark procedure package
in favour ofsnow snowpark build
. - Removed
snow snowpark function create
andsnow snowpark function update
. Functions can be deployed usingsnow snowpark deploy
. - Removed
snow snowpark procedure create
andsnow snowpark procedure update
. Procedures can be deployed usingsnow snowpark deploy
. - Procedures and functions use single zip artifact for all functions and procedures in project.
- Changed path to coverage reports on stage, previously created procedures with coverage will not work, have to be recreated.
- Previously created procedures or functions won't work with
deploy
command due to change in stage path of artifact. Previous code will remain under old path on stage. - Package commands are now under
snow snowpark package
. - Coverage commands were removed. To measure coverage of your procedures or functions use coverage locally.
- Removed
-
Snowpark Containers services commands
compute-pool
commands and its aliascp
were renamed topool
commands.jobs
commands were renamed tojob
.services
commands were renamed toservice
pool
,job
,service
, andregistry
commands were moved fromsnowpark
group to a newspcs
group.
-
Streamlit changes
snow streamlit deploy
is requiringsnowflake.yml
project file with a Streamlit definition.snow streamlit describe
is nowsnow object describe streamlit
snow streamlit list
is nowsnow object show streamlit
snow streamlit drop
is nowsnow object drop streamlit
New additions
- Added
snow streamlit get-url [NAME]
command that returns url to a Streamlit app. --temporary-connection
flag, that allows you to connect, without anything declared in config file- Added project definition for Streamlit
- Added
snow streamlit get-url [NAME]
command that returns url to a Streamlit app. - Added project definition for Snowpark procedures and functions.
- The
snowflake.yml
file is required to deploy functions or procedures. - Introduced new
deploy
command for project with procedures and functions. - Introduced new
build
command for project with procedure and functions
- The
- Added support for external access integration for functions and procedures
- Added support for runtime version in snowpark procedures ad functions.
- You can include previously uploaded packages in your functions, by listing them under
imports
insnowflake.yml
- Added more options to
snow connection add
- now you can also specify authenticator and path to private key
Fixes and improvements
- Allow the use of quoted identifiers in stages