Skip to content

Bump snowflake-snowpark-python from 1.26.0 to 1.31.1 in /python-wrapper#159

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/python-wrapper/snowflake-snowpark-python-1.31.1
Closed

Bump snowflake-snowpark-python from 1.26.0 to 1.31.1 in /python-wrapper#159
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/python-wrapper/snowflake-snowpark-python-1.31.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 12, 2025

Bumps snowflake-snowpark-python from 1.26.0 to 1.31.1.

Release notes

Sourced from snowflake-snowpark-python's releases.

Release

1.31.1 (2025-05-05)

Snowpark Python API Updates

Bug Fixes

  • Updated conda build configuration to deprecate Python 3.8 support, preventing installation in incompatible environments.

Release

1.31.0 (2024-04-24)

Snowpark Python API Updates

New Features

  • Added support for restricted caller permission of execute_as argument in StoredProcedure.register().
  • Added support for non-select statement in DataFrame.to_pandas().
  • Added support for artifact_repository parameter to Session.add_packages, Session.add_requirements, Session.get_packages, Session.remove_package, and Session.clear_packages.
  • Added support for reading an XML file using a row tag by session.read.option('rowTag', <tag_name>).xml(<stage_file_path>) (experimental).
    • Each XML record is extracted as a separate row.
    • Each field within that record becomes a separate column of type VARIANT, which can be further queried using dot notation, e.g., col(a.b.c).
  • Added updates to DataFrameReader.dbapi (PrPr):
    • Added fetch_merge_count parameter for optimizing performance by merging multiple fetched data into a single Parquet file.
    • Added support for Databricks.
    • Added support for ingestion with Snowflake UDTF.
  • Added support for the following AI-powered functions in functions.py (Private Preview):
    • prompt
    • ai_filter (added support for prompt() function and image files, and changed the second argument name from expr to file)
    • ai_classify

Improvements

  • Renamed the relaxed_ordering param into enforce_ordering for DataFrame.to_snowpark_pandas. Also the new default values is enforce_ordering=False which has the opposite effect of the previous default value, relaxed_ordering=False.
  • Improved DataFrameReader.dbapi (PrPr) reading performance by setting the default fetch_size parameter value to 1000.
  • Improve the error message for invalid identifier SQL error by suggesting the potentially matching identifiers.
  • Reduced the number of describe queries issued when creating a DataFrame from a Snowflake table using session.table.
  • Improved performance and accuracy of DataFrameAnalyticsFunctions.time_series_agg().

Bug Fixes

  • Fixed a bug in DataFrame.group_by().pivot().agg when the pivot column and aggregate column are the same.
  • Fixed a bug in DataFrameReader.dbapi (PrPr) where a TypeError was raised when create_connection returned a connection object of an unsupported driver type.
  • Fixed a bug where df.limit(0) call would not properly apply.
  • Fixed a bug in DataFrameWriter.save_as_table that caused reserved names to throw errors when using append mode.

Deprecations

  • Deprecated support for Python3.8.
  • Deprecated argument sliding_interval in DataFrameAnalyticsFunctions.time_series_agg().

... (truncated)

Changelog

Sourced from snowflake-snowpark-python's changelog.

1.31.1 (2025-05-05)

Snowpark Python API Updates

Bug Fixes

  • Updated conda build configuration to deprecate Python 3.8 support, preventing installation in incompatible environments.

1.31.0 (2025-04-24)

Snowpark Python API Updates

New Features

  • Added support for restricted caller permission of execute_as argument in StoredProcedure.register().
  • Added support for non-select statement in DataFrame.to_pandas().
  • Added support for artifact_repository parameter to Session.add_packages, Session.add_requirements, Session.get_packages, Session.remove_package, and Session.clear_packages.
  • Added support for reading an XML file using a row tag by session.read.option('rowTag', <tag_name>).xml(<stage_file_path>) (experimental).
    • Each XML record is extracted as a separate row.
    • Each field within that record becomes a separate column of type VARIANT, which can be further queried using dot notation, e.g., col(a.b.c).
  • Added updates to DataFrameReader.dbapi (PrPr):
    • Added fetch_merge_count parameter for optimizing performance by merging multiple fetched data into a single Parquet file.
    • Added support for Databricks.
    • Added support for ingestion with Snowflake UDTF.
  • Added support for the following AI-powered functions in functions.py (Private Preview):
    • prompt
    • ai_filter (added support for prompt() function and image files, and changed the second argument name from expr to file)
    • ai_classify

Improvements

  • Renamed the relaxed_ordering param into enforce_ordering for DataFrame.to_snowpark_pandas. Also the new default values is enforce_ordering=False which has the opposite effect of the previous default value, relaxed_ordering=False.
  • Improved DataFrameReader.dbapi (PrPr) reading performance by setting the default fetch_size parameter value to 1000.
  • Improve the error message for invalid identifier SQL error by suggesting the potentially matching identifiers.
  • Reduced the number of describe queries issued when creating a DataFrame from a Snowflake table using session.table.
  • Improved performance and accuracy of DataFrameAnalyticsFunctions.time_series_agg().

Bug Fixes

  • Fixed a bug in DataFrame.group_by().pivot().agg when the pivot column and aggregate column are the same.
  • Fixed a bug in DataFrameReader.dbapi (PrPr) where a TypeError was raised when create_connection returned a connection object of an unsupported driver type.
  • Fixed a bug where df.limit(0) call would not properly apply.
  • Fixed a bug in DataFrameWriter.save_as_table that caused reserved names to throw errors when using append mode.

Deprecations

  • Deprecated support for Python3.8.
  • Deprecated argument sliding_interval in DataFrameAnalyticsFunctions.time_series_agg().

Snowpark Local Testing Updates

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [snowflake-snowpark-python](https://github.com/snowflakedb/snowpark-python) from 1.26.0 to 1.31.1.
- [Release notes](https://github.com/snowflakedb/snowpark-python/releases)
- [Changelog](https://github.com/snowflakedb/snowpark-python/blob/main/CHANGELOG.md)
- [Commits](snowflakedb/snowpark-python@v1.26.0...v1.31.1)

---
updated-dependencies:
- dependency-name: snowflake-snowpark-python
  dependency-version: 1.31.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 12, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 19, 2025

Superseded by #166.

@dependabot dependabot bot closed this May 19, 2025
@dependabot dependabot bot deleted the dependabot/pip/python-wrapper/snowflake-snowpark-python-1.31.1 branch May 19, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants