Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the Spark remote URL to connect to, such as "sc://host:port" to run via a Spark Connect server.
Syntax
remote(url)
Parameters
| Parameter | Type | Description |
|---|---|---|
url |
str | The URL to the Spark Connect server. |
Returns
SparkSession.Builder
Examples
SparkSession.builder.remote("sc://localhost")