github snowflakedb/snowpark-python v1.52.0
Release

9 hours ago

1.52.0 (2026-06-10)

Snowpark Python API Updates

New Features

  • Added get_wif_token to snowflake.snowpark.secrets for workload identity federation tokens on the Snowflake server (not available in SPCS file-based secret environments).

Bug Fixes

  • Fixed a bug where copying a DataFrame via copy.copy() lost post-aggregate state, causing subsequent .limit() or .sort() to generate incorrect SQL.
  • Fixed a bug where calling DataFrame.alias() twice on the same DataFrame (e.g. for a self-join) caused both aliases to share the same internal column-mapping dictionary. This made col("R", "col") resolve to the same column as col("L", "col"), producing incorrect join conditions and filter expressions.
  • Fixed a bug where cloudpickle could not be resolved when registering a Python stored procedure or UDF with runtime_version='3.13'.

Improvements

  • Improved CTE optimization to deduplicate identical subtrees in self-joins, which were previously emitted as repeated subqueries.

Deprecations

  • Removed support for Python 3.9.

Don't miss a new snowpark-python release

NewReleases is sending notifications on new releases.