1.8.0 (2023-09-14)
New Features
- Added support for VOLATILE/IMMUTABLE keyword when registering UDFs.
- Added support for specifying clustering keys when saving dataframes using
DataFrame.save_as_table
. - Accept
Iterable
objects input forschema
when creating dataframes usingSession.create_dataframe
. - Added the property
DataFrame.session
to return aSession
object. - Added the property
Session.session_id
to return an integer that represents session ID. - Added the property
Session.connection
to return aSnowflakeConnection
object . - Added support for creating a Snowpark session from a configuration file or environment variables.
Dependency updates
- Updated
snowflake-connector-python
to 3.2.0.
Bug Fixes
- Fixed a bug where automatic package upload would raise
ValueError
even when compatible package version were added insession.add_packages
. - Fixed a bug where table stored procedures were not registered correctly when using
register_from_file
. - Fixed a bug where dataframe joins failed with
invalid_identifier
error. - Fixed a bug where
DataFrame.copy
disables SQL simplfier for the returned copy. - Fixed a bug where
session.sql().select()
would fail if any parameters are specified tosession.sql()
.