What's New in Version 1.0.15
Version 1.0.15 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”- Added support for a
RAI_ACTIVE_PROFILEenvironment variable as a way to select the active profile. You can now set the active profile withRAI_ACTIVE_PROFILE=<profile_name>in addition toactive_profileinraiconfig.yaml. See Use profiles to manage multiple configurations for details.
Performance and Reliability
Section titled “Performance and Reliability”-
Reduced
Model.Table()overhead on large Snowflake schemas. Before, PyRel could scan the whole schema on each lookup. Now PyRel fetches metadata one table at a time, which reduces cold-start overhead when a model touches many tables in a large schema. For background on declaring Snowflake sources, see Declare data sources. -
Improved behavior on read-only notebook and container file systems. Before, PyRel could fail while writing caches or trace files with misleading errors. Now it falls back to a writable temporary directory in those environments.
Bug Fixes
Section titled “Bug Fixes”-
Fixed Snowflake authentication failures that could surface as a misleading
No default Sessionerror. PyRel now reports the underlying Snowflake auth failure when it cannot create a new session. -
Fixed a startup crash in
rai debugger. Before, some launches could fail withRuntimeError: You must call ui.run() to start the server. Now the debugger starts without that reload-related crash. -
Fixed
Model.data()so rows with mixed integer and floating-point columns preserve integer values. Before, some integer fields could be upcast and show up as values like1.0in query results.