1.37.0 (2025-08-18)
Snowpark Python API Updates
New Features
- Added support for the following
xpath
functions infunctions.py
:xpath
xpath_string
xpath_boolean
xpath_int
xpath_float
xpath_double
xpath_long
xpath_short
- Added support for parameter
use_vectorized_scanner
in functionSession.write_arrow()
. - Dataframe profiler adds the following information about each query: describe query time, execution time, and sql query text. To view this information, call session.dataframe_profiler.enable() and call get_execution_profile on a dataframe.
- Added support for
DataFrame.col_ilike
. - Added support for non-blocking stored procedure calls that return
AsyncJob
objects.- Added
block: bool = True
parameter toSession.call()
. Whenblock=False
, returns anAsyncJob
instead of blocking until completion. - Added
block: bool = True
parameter toStoredProcedure.__call__()
for async support across both named and anonymous stored procedures. - Added
Session.call_nowait()
that is equivalent toSession.call(block=False)
.
- Added
Bug Fixes
- Fixed a bug in CTE optimization stage where
deepcopy
of internal plans would cause a memory spike when a dataframe is created locally usingsession.create_dataframe()
using a large input data. - Fixed a bug in
DataFrameReader.parquet
where theignore_case
option in theinfer_schema_options
was not respected. - Fixed a bug that
to_pandas()
has different format of column name when query result format is set to 'JSON' and 'ARROW'.
Deprecations
- Deprecated
pkg_resources
.
Dependency Updates
- Added a dependency on
protobuf<6.32
Snowpark pandas API Updates
New Features
- Added support for efficient transfer of data between Snowflake and Ray with the
DataFrame.set_backend
method. The installed version ofmodin
must be at least 0.35.0, andray
must be installed.
Improvements
Dependency Updates
- Updated the supported
modin
versions to >=0.34.0 and <0.36.0 (was previously >= 0.33.0 and <0.35.0). - Added support for pandas 2.3 when the installed
modin
version is at least 0.35.0.
Bug Fixes
- Fixed an issue in hybrid execution mode (PrPr) where
pd.to_datetime
andpd.to_timedelta
would unexpectedly raiseIndexError
. - Fixed a bug where
pd.explain_switch
would raiseIndexError
or returnNone
if called before any potential switch operations were performed.