Provides a 'PySpark' Back-End for the 'sparklyr' Package
Overview
It enables 'sparklyr' to integrate with 'Spark Connect', and 'Databricks Connect' by providing a wrapper over the 'PySpark' 'python' library.
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
no version parameter is specified. When the auto-detected version differs from
the cluster's DBR version, a warning is displayed with suggestions for ensuring
version compatibility.
Show all changes in 0.2.2Hide the rest of the changes in 0.2.2
- 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 the
tblsource 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 asleft_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 anddbplyr>= 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)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-17
- WARNING9 OK, 4 WARNING2026-06-09
- ERROR8 OK, 4 WARNING, 1 ERROR2026-06-08
Show 1 earlier changeHide 1 earlier change
- WARNING9 OK, 5 WARNING2026-03-10
Documentation
- Help pages
- 9 (2 internal)includes a package overview page
- Examples that run
- no examples
- Exported functions with examples
- 0%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 99%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/mlverse/pysparklyr on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 2 practices
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.2.2Latest
- RR 4.6.0 released · 2026-04-24
- 0.2.12026-04-20 · diff ↗
- 0.2.0
- 0.1.92025-10-07 · diff ↗
- 0.1.82025-05-19 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.1.7
- 0.1.62025-02-14 · diff ↗
- 0.1.52024-06-24 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.1.42024-04-16 · diff ↗
- 0.1.3
- 0.1.2
- 0.1.12023-11-10 · diff ↗
- 0.1.02023-10-04
Show 1 earlier eventHide 1 earlier event
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-10-04
- Total releases
- 13 / 3 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Download size
- 147 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("pysparklyr")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.