What's New in Version 0.8.28
New Features and Enhancements
Section titled “New Features and Enhancements”-
Improved support for Snowflake notebooks. When using a Snowflake notebook, the
Model
constructor now automatically picks up your Snowflake session so that you don’t need to explicitly provide those values or manually get the session and pass it to the constructor:# NEWimport relationalai as rai# The session is automatically picked up from the Snowflake notebook, so the# following creates a model using the current session and the default RAI# configuration values.model = rai.Model("MyModel")Previously, you needed to import the
snowflake.snowpark
package and manually get the session:# OLDimport relationalai as raifrom snowflake.snowpark.context import get_active_sessionsession = get_active_session()model = rai.Model("MyModel", connection=session)
Bug Fixes
Section titled “Bug Fixes”-
Fixed a bug in exported stored procedures that could cause source data to be unavailable to the stored procedure.
-
Fixed a bug that caused properties automatically created from Snowflake tables or views to be multi-valued instead of single-valued.