PySpark referenceClassesSparkSessionclientOn this pageclient Gives access to the Spark Connect client. Syntax client Returns SparkConnectClient Notes This API is unstable and intended for developer use. It is only available with Spark Connect; with a regular Spark session it raises an exception.