Skip to content

Bump snowflake-snowpark-python from 1.26.0 to 1.30.0 in /python-wrapper#125

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

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

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 31, 2025

Bumps snowflake-snowpark-python from 1.26.0 to 1.30.0.

Release notes

Sourced from snowflake-snowpark-python's releases.

Release

1.30.0 (2024-03-27)

Snowpark Python API Updates

New Features

  • Added Support for relaxed consistency and ordering guarantees in Dataframe.to_snowpark_pandas by introducing the new parameter relaxed_ordering.
  • DataFrameReader.dbapi (PrPr) now accepts a list of strings for the session_init_statement parameter, allowing multiple SQL statements to be executed during session initialization.

Improvements

  • Improved query generation for Dataframe.stat.sample_by to generate a single flat query that scales well with large fractions dictionary compared to older method of creating a UNION ALL subquery for each key in fractions. To enable this feature, set session.conf.set("use_simplified_query_generation", True).
  • Improved performance of DataFrameReader.dbapi by enable vectorized option when copy parquet file into table.
  • Improved query generation for DataFrame.random_split in the following ways. They can be enabled by setting session.conf.set("use_simplified_query_generation", True):
    • Removed the need to cache_result in the internal implementation of the input dataframe resulting in a pure lazy dataframe operation.
    • The seed argument now behaves as expected with repeatable results across multiple calls and sessions.
  • DataFrame.fillna and DataFrame.replace now both support fitting int and float into Decimal columns if include_decimal is set to True.
  • Added documentation for the following UDF and stored procedure functions in files.py as a result of their General Availability.
    • SnowflakeFile.write
    • SnowflakeFile.writelines
    • SnowflakeFile.writeable
  • Minor documentation changes for SnowflakeFile and SnowflakeFile.open()

Bug Fixes

  • Fixed a bug for the following functions that raised errors .cast() is applied to their output
    • from_json
    • size

Snowpark Local Testing Updates

Bug Fixes

  • Fixed a bug in aggregation that caused empty groups to still produce rows.
  • Fixed a bug in Dataframe.except_ that would cause rows to be incorrectly dropped.
  • Fixed a bug that caused to_timestamp to fail when casting filtered columns.

Snowpark pandas API Updates

New Features

  • Added support for list values in Series.str.__getitem__ (Series.str[...]).
  • Added support for pd.Grouper objects in group by operations. When freq is specified, the default values of the sort, closed, label, and convention arguments are supported; origin is supported when it is start or start_day.
  • Added support for relaxed consistency and ordering guarantees in pd.read_snowflake for both named data sources (e.g., tables and views) and query data sources by introducing the new parameter relaxed_ordering.

Improvements

  • Raise a warning whenever QUOTED_IDENTIFIERS_IGNORE_CASE is found to be set, ask user to unset it.
  • Improved how a missing index_label in DataFrame.to_snowflake and Series.to_snowflake is handled when index=True. Instead of raising a ValueError, system-defined labels are used for the index columns.

... (truncated)

Changelog

Sourced from snowflake-snowpark-python's changelog.

1.30.0 (2024-03-27)

Snowpark Python API Updates

New Features

  • Added Support for relaxed consistency and ordering guarantees in Dataframe.to_snowpark_pandas by introducing the new parameter relaxed_ordering.
  • DataFrameReader.dbapi (PrPr) now accepts a list of strings for the session_init_statement parameter, allowing multiple SQL statements to be executed during session initialization.

Improvements

  • Improved query generation for Dataframe.stat.sample_by to generate a single flat query that scales well with large fractions dictionary compared to older method of creating a UNION ALL subquery for each key in fractions. To enable this feature, set session.conf.set("use_simplified_query_generation", True).
  • Improved performance of DataFrameReader.dbapi by enable vectorized option when copy parquet file into table.
  • Improved query generation for DataFrame.random_split in the following ways. They can be enabled by setting session.conf.set("use_simplified_query_generation", True):
    • Removed the need to cache_result in the internal implementation of the input dataframe resulting in a pure lazy dataframe operation.
    • The seed argument now behaves as expected with repeatable results across multiple calls and sessions.
  • DataFrame.fillna and DataFrame.replace now both support fitting int and float into Decimal columns if include_decimal is set to True.
  • Added documentation for the following UDF and stored procedure functions in files.py as a result of their General Availability.
    • SnowflakeFile.write
    • SnowflakeFile.writelines
    • SnowflakeFile.writeable
  • Minor documentation changes for SnowflakeFile and SnowflakeFile.open()

Bug Fixes

  • Fixed a bug for the following functions that raised errors .cast() is applied to their output
    • from_json
    • size

Snowpark Local Testing Updates

Bug Fixes

  • Fixed a bug in aggregation that caused empty groups to still produce rows.
  • Fixed a bug in Dataframe.except_ that would cause rows to be incorrectly dropped.
  • Fixed a bug that caused to_timestamp to fail when casting filtered columns.

Snowpark pandas API Updates

New Features

  • Added support for list values in Series.str.__getitem__ (Series.str[...]).
  • Added support for pd.Grouper objects in group by operations. When freq is specified, the default values of the sort, closed, label, and convention arguments are supported; origin is supported when it is start or start_day.
  • Added support for relaxed consistency and ordering guarantees in pd.read_snowflake for both named data sources (e.g., tables and views) and query data sources by introducing the new parameter relaxed_ordering.
  • Added support for DataFrame.create_or_replace_view and Series.create_or_replace_view.

Improvements

  • Raise a warning whenever QUOTED_IDENTIFIERS_IGNORE_CASE is found to be set, ask user to unset it.
  • Improved how a missing index_label in DataFrame.to_snowflake and Series.to_snowflake is handled when index=True. Instead of raising a ValueError, system-defined labels are used for the index columns.

... (truncated)

Commits
  • 88f7451 Update changelog release date
  • db3f9c7 [Release-v1.30.0] Changes for preparing release 1.30.0 (#3200)
  • df5501a SNOW-1923653: Add AST generation acknowledgement to PR template and GitHub ac...
  • 8e44d9b SNOW-2005919: update tests to fix disabled sql simplifier workflow (#3195)
  • da58daa SNOW-2006135 : Remove preview warning for lineage.trace API (#3194)
  • 8ac6226 SNOW-2004895: snowpark python 1.30.0 release preparation (#3192)
  • dcb3f2f SNOW-2004982: Fix test_read_snowflake_call_sproc_relaxed_ordering_neg when sq...
  • 98ab013 SNOW-1918055: Update agg error for unsupported aggregation functions (#3133)
  • 14590ab SNOW-1983231: [Local Testing] Fix empty aggregations creating rows. (#3178)
  • 889e0e3 SNOW-1969300: support multiple session init statements in dbapi (#3179)
  • Additional commits viewable in compare view

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.30.0.
- [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.30.0)

---
updated-dependencies:
- dependency-name: snowflake-snowpark-python
  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 Mar 31, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 28, 2025

Superseded by #146.

@dependabot dependabot bot closed this Apr 28, 2025
@dependabot dependabot bot deleted the dependabot/pip/python-wrapper/snowflake-snowpark-python-1.30.0 branch April 28, 2025 16:12
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