pysparklyr 0.2.2
New
- Adds support for
tune_grid_spark(). It enables running a Tidymodels tune
grid inside Spark Connect clusters.
- Snowflake connections now support all native authenticators via the Snowflake
Python SDK, which also picks up on default credentials from Snowflake
connections.tomlfiles. Viewer-based credentials on Posit Connect are now
supported, too (#181 - @atheriel).
Improvements
-
Databricks Connect now auto-detects the latest library version from PyPI when
noversionparameter is specified. When the auto-detected version differs from
the cluster's DBR version, a warning is displayed with suggestions for ensuring
version compatibility. -
Adds
profileargument support to the Databricks SDK connection call. -
When no cluster version is provided, uses the latest available main library
version from PyPI.
Fixes
-
Restores compatibility with sparklyr 1.9.5 / dbplyr 2.6.0, which restructured
thetblsource slot. Operations on atbl(e.g. printing,collect()) no
longer fail with "no applicable method for 'invoke' applied to an object of
class 'c('spark_connection', 'DBIConnection')'". Two-table verbs such as
left_join()no longer error with "xandymust share the same source",
and the deprecateddbplyr::as.sql()call was replaced withas_table_path()
(#185). This raises the minimum requirements tosparklyr>= 1.9.5 and
dbplyr>= 2.6.0. -
No longer emits spurious reticulate "After Python has initialized, only
action = 'add'..." warnings when opening additional connections in a
session that uses an ephemeral (uv) Python environment. -
Fixes conversion of Pandas NULL columns and date types (#178 - @tobiasdut)