Skip to content

Commit

Permalink
Release 1.17.0 (Initial public preview release of pandas API) (#1635)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-azhan authored May 21, 2024
1 parent f9e7684 commit afa4433
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 19 deletions.
44 changes: 28 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
# Release History

## 1.17.0 (TBD)
## 1.17.0 (2024-05-21)

### New Features
### Snowpark Python API Updates

#### New Features

- Added support to add a comment on tables and views using functions listed below:
- Added support to add a comment on tables and views using the functions listed below:
- `DataFrameWriter.save_as_table`
- `DataFrame.create_or_replace_view`
- `DataFrame.create_or_replace_temp_view`
- `DataFrame.create_or_replace_dynamic_table`

### Improvements
#### Improvements

- Improved error message to remind users set `{"infer_schema": True}` when reading csv file without specifying its schema.
- Improved error message to remind users to set `{"infer_schema": True}` when reading CSV file without specifying its schema.

### Local Testing Updates
### Snowpark pandas API Updates

#### New Features

- Start of Public Preview of Snowpark pandas API. Refer to the [Snowpark pandas API Docs](https://docs.snowflake.com/LIMITEDACCESS/snowpark-pandas) for more details.

### Snowpark Local Testing Updates

#### New Features

Expand All @@ -32,13 +40,8 @@

#### Bug Fixes

- Fixed a bug in DataFrameReader.csv unable to handle quoted values containing delimiter.
- Fixed a bug that when there is `None` value in arithmetic calculation, the output should remain `None` instead of `math.nan`.
- Fixed a bug in function `sum` and `covar_pop` that when there is `math.nan` in the data, the output should also be `math.nan`.
- Fixed a bug that stage operation can not handle directories.
- Fixed a bug that `DataFrame.to_pandas` should take Snowflake numeric types with precision 38 as `int64`.
- Fixed a bug that stored proc and udf should not remove imports already in the sys.path during the clean-up step.
- Fixed a bug that when processing datetime format, fractional second part is not handled properly.
- Fixed a bug that stored procedure and UDF should not remove imports already in the `sys.path` during the clean-up step.
- Fixed a bug that when processing datetime format, the fractional second part is not handled properly.
- Fixed a bug that on Windows platform that file operations was unable to properly handle file separator in directory name.
- Fixed a bug that on Windows platform that when reading a pandas dataframe, IntervalType column with integer data can not be processed.
- Fixed a bug that prevented users from being able to select multiple columns with the same alias.
Expand All @@ -51,14 +54,18 @@
- Improved error experience of `Session.write_pandas` method that `NotImplementError` will be raised when called.
- Aligned error experience with reusing a closed session in non-local execution.

## 1.16.0 (TBD)
## 1.16.0 (2024-05-07)

### New Features

- Support stored procedure register with packages given as Python modules.
- Added snowflake.snowpark.Session.lineage.trace to explore data lineage of snowfake objects.
- Added support for structured type schema parsing.

### Bug Fixes

- Fixed a bug when inferring schema, single quotes are added to stage files already have single quotes.

### Local Testing Updates

#### New Features
Expand All @@ -72,8 +79,13 @@

#### Bug Fixes

- Fixed a bug that caused NaT and NaN values to not be recognized.
- Fixed a bug when inferring schema, single quotes are added to stage files already have single quotes.
- Fixed a bug that caused `NaT` and `NaN` values to not be recognized.
- Fixed a bug where, when inferring a schema, single quotes were added to stage files that already had single quotes.
- Fixed a bug where `DataFrameReader.csv` was unable to handle quoted values containing a delimiter.
- Fixed a bug that when there is `None` value in an arithmetic calculation, the output should remain `None` instead of `math.nan`.
- Fixed a bug in function `sum` and `covar_pop` that when there is `math.nan` in the data, the output should also be `math.nan`.
- Fixed a bug that stage operation can not handle directories.
- Fixed a bug that `DataFrame.to_pandas` should take Snowflake numeric types with precision 38 as `int64`.

## 1.15.0 (2024-04-24)

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.15.0" %}
{% set version = "1.17.0" %}

package:
name: {{ name|lower }}
Expand Down
2 changes: 1 addition & 1 deletion src/snowflake/snowpark/modin/plugin/PANDAS_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 1.16.0a1 (tbd)
## 1.17.0 (2024-05-21)

### Bug Fixes
- Fixed bug when creating a DataFrame with a dict of Series objects.
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 @@ -4,4 +4,4 @@
#

# Update this for the versions
VERSION = (1, 15, 0)
VERSION = (1, 17, 0)

0 comments on commit afa4433

Please sign in to comment.