0.10.0 (2022-09-16)
New Features:
- Added experimental APIs for evaluating Snowpark dataframes with asynchronous queries:
- Added keyword argument
block
to the following action APIs on Snowpark dataframes (which execute queries) to allow asynchronous evaluations:DataFrame.collect()
,DataFrame.to_local_iterator()
,DataFrame.to_pandas()
,DataFrame.to_pandas_batches()
,DataFrame.count()
,DataFrame.first()
.DataFrameWriter.save_as_table()
,DataFrameWriter.copy_into_location()
.Table.delete()
,Table.update()
,Table.merge()
.
- Added method
DataFrame.collect_nowait()
to allow asynchronous evaluations. - Added class
AsyncJob
to retrieve results from asynchronously executed queries and check their status.
- Added keyword argument
- Added support for
table_type
inSession.write_pandas()
. You can now choose from thesetable_type
options:"temporary"
,"temp"
, and"transient"
. - Added support for using Python structured data (
list
,tuple
anddict
) as literal values in Snowpark. - Added keyword argument
execute_as
tofunctions.sproc()
andsession.sproc.register()
to allow registering a stored procedure as a caller or owner. - Added support for specifying a pre-configured file format when reading files from a stage in Snowflake.
Improvements:
- Added support for displaying details of a Snowpark session.
Bug Fixes:
- Fixed a bug in which
DataFrame.copy_into_table()
andDataFrameWriter.save_as_table()
mistakenly created a new table if the table name is fully qualified, and the table already exists.
Deprecations:
- Deprecated keyword argument
create_temp_table
inSession.write_pandas()
. - Deprecated invoking UDFs using arguments wrapped in a Python list or tuple. You can use variable-length arguments without a list or tuple.
Dependency updates
- Updated
snowflake-connector-python
to 2.7.12.