You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for Spark Connect to pyspark decorator (#35665)
* Add support for Spark Connect to pyspark decorator
In Apache Spark 3.4 Spark Connect was introduced which
allows remote connectivity to remote Spark Cluster using
the DataFrame API.
Copy file name to clipboardexpand all lines: docs/apache-airflow-providers-apache-spark/connections/spark.rst
+10-1
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ The Apache Spark connection type enables connection to Apache Spark.
27
27
Default Connection IDs
28
28
----------------------
29
29
30
-
Spark Submit and Spark JDBC hooks and operators use ``spark_default`` by default. Spark SQL hooks and operators point to ``spark_sql_default`` by default.
30
+
Spark Submit and Spark JDBC hooks and operators use ``spark_default`` by default. Spark SQL hooks and operators point to ``spark_sql_default`` by default. The Spark Connect hook uses ``spark_connect_default`` by default.
31
31
32
32
Configuring the Connection
33
33
--------------------------
@@ -45,6 +45,15 @@ Extra (optional)
45
45
* ``spark-binary`` - The command to use for Spark submit. Some distros may use ``spark2-submit``. Default ``spark-submit``. Only ``spark-submit``, ``spark2-submit`` or ``spark3-submit`` are allowed as value.
46
46
* ``namespace`` - Kubernetes namespace (``spark.kubernetes.namespace``) to divide cluster resources between multiple users (via resource quota).
47
47
48
+
User ID (optional, only applies to Spark Connect)
49
+
The user ID to authenticate with the proxy.
50
+
51
+
Token (optional, only applies to Spark Connect)
52
+
The token to authenticate with the proxy.
53
+
54
+
Use SSL (optional, only applies to Spark Connect)
55
+
Whether to use SSL when connecting.
56
+
48
57
When specifying the connection in environment variable you should specify
0 commit comments