Skip to content

What's New in Version 1.34.0

Standalone properties now deploy as their own Snowflake tables, plus model deployment reliability fixes.

How to install this version

Review the changes below before installing. To install this version, activate a compatible Python virtual environment and run:

Terminal window
python -m pip install "relationalai==1.34.0"

For the latest installation instructions, see Start building with PyRel.

  • When you deploy a model to Snowflake, a standalone property now deploys as its own table instead of a column on the concept’s table. A standalone property is one you write as brand = model.Property(...) rather than attaching it to a concept with Car.brand = model.Property(...). If your deployed model has downstream consumers, you will need to update any that expect properties as columns.
  • Deploying a model no longer overwrites or deletes another model’s objects when both models deploy into the same Snowflake schema with the same deployment.managed_tag.

  • Some models that previously failed to deploy to Snowflake with SQL compilation error: Unsupported subquery type cannot be evaluated now deploy successfully.

  • When you deploy a model to Snowflake, the geometric_mean aggregate over data that can include negative numbers no longer fails and now returns NaN for those cases.

  • An aggregate grouped per entity with .per() in a model deployed to Snowflake now returns each entity’s own value instead of a whole-table total or a count that is too high. A few cases that cannot be computed correctly now raise a clear LookupBoundAfterAggregate error instead of a silent wrong number.

  • Calling as_bool() on a where clause with several conditions now returns one True or False per row instead of duplicated rows or missing False rows.

  • Improved performance for deploying a model to Snowflake when it contains a concept whose properties are built up across many definitions.

  • If you deploy a model from a Snowflake notebook using get_active_session(), it no longer fails with a false Deploy lease ... was taken over by another deploy error.

  • After a branch creation fails, you can now tear down the incomplete branch with the rai models teardown --force command and retry.

  • If a Problem reads another Problem’s results before that Problem has been solved, solving or deploying it now raises a clear error instead of returning a misleading OPTIMAL result. Solve or configure the Problem it reads from first.

  • If you query a model inside a Snowflake stored procedure, it no longer fails at startup with ImportError: cannot import name '_ExtendedAttributes'.