builder.
remote
Sets the Spark remote URL to connect to, such as “sc://host:port” to run it via Spark Connect server.
New in version 3.4.0.
URL to Spark Connect server
SparkSession.Builder
Examples
>>> SparkSession.builder.remote("sc://localhost") <pyspark.sql.session.SparkSession.Builder...