Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#### New Features

## 1.39.0 (YYYY-MM-DD)
## 1.39.0 (2025-09-17)

### Snowpark Python API Updates

Expand Down Expand Up @@ -73,7 +73,6 @@

#### Improvements

- Hybrid execution mode is now enabled by default. Certain operations on smaller data will now automatically execute in native pandas in-memory. Use `from modin.config import AutoSwitchBackend; AutoSwitchBackend.disable()` to turn this off and force all execution to occur in Snowflake.
- Downgraded to level `logging.DEBUG - 1` the log message saying that the
Snowpark `DataFrame` reference of an internal `DataFrameReference` object
has changed.
Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "snowflake-snowpark-python" %}
{% set version = "1.38.0" %}
{% set version = "1.39.0" %}
{% set noarch_build = (os.environ.get('SNOWFLAKE_SNOWPARK_PYTHON_NOARCH_BUILD', 'false')) == 'true' %}
{% set build_number = os.environ.get('SNOWFLAKE_SNOWPARK_PYTHON_BUILD_NUMBER', 0) %}

Expand Down
13 changes: 1 addition & 12 deletions src/snowflake/snowpark/modin/plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import inspect
import sys
from typing import Union, Callable, Any
import warnings

from packaging import version

Expand Down Expand Up @@ -174,19 +173,9 @@
)
from modin.config import AutoSwitchBackend # isort: skip # noqa: E402

HYBRID_WARNING = (
"Snowpark pandas now runs with hybrid execution enabled by default, and will perform certain operations "
+ "on smaller data using local, in-memory pandas. To disable this behavior and force all computations to occur in "
+ "Snowflake, run this line:\nfrom modin.config import AutoSwitchBackend; AutoSwitchBackend.disable()"
)

warnings.filterwarnings("once", message=HYBRID_WARNING)

if AutoSwitchBackend.get_value_source() is ValueSource.DEFAULT:
AutoSwitchBackend.enable()

if AutoSwitchBackend.get():
warnings.warn(HYBRID_WARNING, stacklevel=1)
AutoSwitchBackend.disable()

# Hybrid Mode Registration
# In hybrid execution mode, the client will automatically switch backends when a
Expand Down
2 changes: 1 addition & 1 deletion src/snowflake/snowpark/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


# Update this for the versions
VERSION = (1, 38, 0)
VERSION = (1, 39, 0)
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.agg.test
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.ai.test
Original file line number Diff line number Diff line change
Expand Up @@ -2146,6 +2146,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.col_ilike.test
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.collect.test
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.count.test
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.count2.test
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.create_or_replace.test
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.cross_join.lsuffix.test
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.cross_join.rsuffix.test
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.cross_join.suffix.test
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.describe.test
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.flatten.test
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.indexers.test
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.join.inner.column.test
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.join.inner.column_list.test
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.join.inner.predicate.test
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.join.left_outer.column.test
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.join.right_outer.predicate.test
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.join_table_function.test
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.natural_join.test
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.pivot.test
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.select_expr.test
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.stat.test
Original file line number Diff line number Diff line change
Expand Up @@ -1647,6 +1647,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.to_df.test
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.to_local_iterator.test
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.to_pandas.test
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.to_pandas_batch.test
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.unpivot.test
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.write.test
Original file line number Diff line number Diff line change
Expand Up @@ -4727,6 +4727,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/Dataframe.cube.test
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/Dataframe.distinct.test
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/Dataframe.drop_duplicates.test
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/Dataframe.filter.test
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/Dataframe.getitem.test
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/Dataframe.group_by.test
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/Dataframe.group_by_grouping_sets.test
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/Dataframe.join.asof.test
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/Dataframe.join.prefix.test
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
2 changes: 1 addition & 1 deletion tests/ast/data/Dataframe.rollup.test
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,6 @@ client_language {
}
client_version {
major: 1
minor: 38
minor: 39
}
id: "\003U\"\366q\366P\346\260\261?\234\303\254\316\353"
Loading
Loading