What's New in Version 1.26.1
Version 1.26.1 of the relationalai Python package is now available!
To upgrade, activate your virtual environment and run the following command:
pip install --upgrade relationalaiNew Features and Enhancements
Section titled “New Features and Enhancements”-
Your first
rai models deployon a new branch now works without a manualrai models pullfirst.rai models switchpulls the branch for you. A barerai models pullalso now defaults--pathto themodel.pathin yourraiconfig.yaml. -
Tearing down a parent branch now removes its child branches too, instead of leaving them orphaned and unable to pull or merge. As a safeguard,
rai models teardown--allow-childrenstops when a child has unmerged changes until you also pass--allow-unmerged.rai models listandrai doctor reportnow flag any branches orphaned by an earlier teardown. -
The
rai modelscommands now recognize when the schema you name is already your active model branch, instead of acting as if it changed.rai models switchno longer prints a false “Switched” message,rai models branchtells you to pick a different name instead of erroring, andrai models listmarks your active schema with a*.
Bug Fixes
Section titled “Bug Fixes”-
Fixed a bug that caused queries using
union()to run slowly and, in some cases, hang indefinitely. -
Fixed a bug that could cause aggregates grouped with
per()to evaluate incorrectly when used solely as a filter and not selected in the query results.
Fixed a bug that caused aggregates grouped by an entity with a composite key to evaluate incorrectly.
-
Fixed an issue that could cause an “invalid identifier” error when deploying a model.
-
Fixed a bug that could case an “Object does not exist” error when deploying a model to a case-sensitive schema name.
-
Fixed a bug where a deploy could fail when a Snowflake view or dynamic table (an auto-refreshing Snowflake table) was created before another object it reads from.
-
Fixed a bug where deploying an unedited
rai models initproject could fail immediately with a “Symbol … is already registered” error. -
Fixed a bug that could cause redeploying a model without any changes could fail.
-
Fixed an issue that prevented model re-deploys from picking up changes to a data sources Snowflake object.
-
Fixed a model deployment bug that ignored a user-supplied Snowpark session passed to
create_config(), which is supposed to override any auto-detected Snowpark session. -
Fixed a bug that could cause
rai models pullorrai models mergeto generate a runnableshared_model.pyfile. If you encountered this bug, pull or merge again to regenerate a correctedshared_model.py.