Snowpark Library for Scala and Java release notes for 2024¶
This article contains the release notes for the Snowpark Library for Scala and Snowpark Library for Java, including the following when applicable:
Behavior changes
New features
Customer-facing bug fixes
Snowflake uses semantic versioning for Snowpark Library for Scala and Java updates.
Version 1.12.0 (April 16, 2024)¶
Compatible Snowflake release: 8.14
New features¶
Support the
Geometry
data type.New function:
sum(String)
.Support setting an app name when creating a new session.
Improvements¶
Added code examples for the split
function in the API document.
Bug fixes¶
None.
Version 1.11.0 (April 1, 2024)¶
Compatible Snowflake release: 8.12
New features¶
Support Java 17 stored procedure
When registering a stored procedure, Snowpark automatically sets
runtime_version
to 17 if the client is running with JVM 17.
Improvements¶
None.
Bug fixes¶
None.
Version 1.10.0 (February 9, 2024)¶
Compatible Snowflake release: 8.5
New features¶
Support Java 17.
Compatible with JVM 17.
When registering a UDF or UDTF, Snowpark automatically sets the
runtime_version
to17
if the client is running with JVM 17.
Support Dataframe alias.
You can use the
DataFrame.alias
function to assign DataFrames an alias for future reference.For example, you could use code such as the following:
val df1 = df.alias("A") df1.join(df2).select(col("A.col"))
This is equivalent to
df1.join(df2).select(df1("col"))
.
Support for the
explode
function.You can invoke table functions in the
DataFrame.select
method.You can use table functions to read function arguments through the
TableFunction.apply
method.New session constructor
Session.getOrCreate
.
Improvements¶
Upgraded JDBC to version 3.14.4.
New wrapper for
is_null
function.Upgrade Scala to version 2.12.18.
Bug fixes¶
Updated wrong license information.