~/talk

Using R with Databricks Connect

Talkat posit::conf(2023) · 2023-09-17..09-20· [databases]
links:none on file
slides:none on file

sparklyr now connects to Spark via reticulate->pyspark using Spark Connect, so R sessions can run dplyr/DBI queries remotely and push aggregation to the cluster; Databricks Connect V2 works on DBR 13+ and requires Python 3.9+ and a cluster ID plus token. setup uses the PSparkC helper to install Python deps, removes the need for no Java on laptop, exposes Unity Catalog (catalog->schema->table), and lets R call new Python ML APIs directly though some Spark 3.4/3.5 ML/SDF features remain limited.

AI-written summary · about

  1. 0:00What this talk covers
  2. 0:28What Spark Connect is, and why it changes things
  3. 2:07Why gRPC means Python is the bridge
  4. 3:10What sparklyr gives you today
  5. 4:14Upgrading sparklyr and installing pysparklyr
  6. 5:17Local Spark and Spark Connect compared
  7. 5:52Databricks Connect: working from your laptop
  8. 7:24Connecting with a cluster ID and a token
  9. 8:28Previewing tables and exploring the data
  10. 9:32Using dplyr against a Spark table
  11. 10:35Managing clusters from the Databricks UI
  12. 12:41Current limitations with Spark 3.4
  13. 13:46Reaching the full API through reticulate
  14. 15:53Running models and getting results back
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.