Skip to content

Commit

Permalink
Add Release notes to 0.12.0 release notes (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-yixie authored Oct 14, 2022
1 parent c70fc54 commit 87faa2f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
# Release History
## 0.12.0 (2022-10-14)
### New Features
- Added new APIs for async job:
- `Session.create_async_job()` to create an `AsyncJob` instance from a query id.
- `AsyncJob.result()` now accepts argument `result_type` to return the results in different formats.
- `AsyncJob.to_df()` returns a `DataFrame` built from the result of this asynchronous job.
- `AsyncJob.query()` returns the SQL text of the executed query.
- `DataFrame.agg()` and `RelationalGroupedDataFrame.agg()` now accept variable-length arguments.
- Added parameters `lsuffix` and `rsuffix` to `DataFram.join()` and `DataFrame.cross_join()` to conveniently rename overlapping columns.
- Added `Table.drop_table()` so you can drop the temp table after `DataFrame.cache_result()`. `Table` is also a context manager so you can use the `with` statement to drop the cache temp table after use.
- Added `Session.use_secondary_roles()`.
- Added functions `first_value()` and `last_value()`. (contributed by @chasleslr)
- Added `on` as an alias for `using_columns` and `how` as an alias for `join_type` in `DataFrame.join()`.

### Bug Fixes
- Fixed a bug in `Session.create_dataframe()` that raised an error when `schema` names had special characters.
- Fixed a bug in which options set in `Session.read.option()` were not passed to `DataFrame.copy_into_table()` as default values.
- Fixed a bug in which `DataFrame.copy_into_table()` raises an error when a copy option has single quotes in the value.

## 0.11.0 (2022-09-28)

### Behavior Changes
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 = "0.11.0" %}
{% set version = "0.12.0" %}

package:
name: {{ name|lower }}
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 = (0, 11, 0)
VERSION = (0, 12, 0)

0 comments on commit 87faa2f

Please sign in to comment.