Python package and CLI 2.3.1
Cap concurrent Snowflake statements.
How to install this version
Review the changes below before installing. To install this version, activate a compatible Python virtual environment and run:
python -m pip install "relationalai==2.3.1"For the latest installation instructions, see Install and run PyRel.
New Features and Enhancements
Section titled “New Features and Enhancements”- Model deployment now supports limiting how many Snowflake statements run at once by setting
DeploymentConfig.max_deploy_concurrencyto a positive integer in thedeploymentsection ofraiconfig.yaml(default:128). Lower values can help when many simultaneous Snowflake connections cause errors but may make deployment take longer.
Bug Fixes
Section titled “Bug Fixes”-
Fixed an issue that caused scheduled refreshes for deployed models to recompute unchanged data when Snowflake change tracking was off. Refreshes now skip that work but still run when sources change or the model can produce different results from the same inputs.
-
Fixed an issue that caused a credentialed
SnowflakeConnectionto reuse an already-open Snowflake session from another account in the same Python process. It now opens a session with its configured credentials. -
Fixed an issue that caused
re.match()andre.fullmatch()to match substrings.re.match()now matches from the beginning or supplied offset, whilere.fullmatch()must match through the whole value from that point. Usere.search()for matches anywhere. -
Fixed an issue that caused Python
Decimal,date, anddatetimevalues to fail as defaults withVariable.__or__()or as branches inModel.union(). -
Fixed an issue that caused most comparisons between integers or decimals and
Floatvalues to fail. All six comparison operators now work without an explicit cast, but converting toFloatcan lose precision above roughly 15 significant digits. -
Fixed an issue that caused
Model.not_()queries to return values they were meant to exclude when those values came only fromunionor a|match expression. The query now excludes those values, so remove the negated condition if you want to keep them.