<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://openlakehouse.io/w/index.php?action=history&amp;feed=atom&amp;title=Spark_Connect_plugin</id>
	<title>Spark Connect plugin - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://openlakehouse.io/w/index.php?action=history&amp;feed=atom&amp;title=Spark_Connect_plugin"/>
	<link rel="alternate" type="text/html" href="https://openlakehouse.io/w/index.php?title=Spark_Connect_plugin&amp;action=history"/>
	<updated>2026-12-06T00:25:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://openlakehouse.io/w/index.php?title=Spark_Connect_plugin&amp;diff=182&amp;oldid=prev</id>
		<title>Open Lakehouse Wiki sync: Sync from open-lakehouse/wiki@7c9abaa</title>
		<link rel="alternate" type="text/html" href="https://openlakehouse.io/w/index.php?title=Spark_Connect_plugin&amp;diff=182&amp;oldid=prev"/>
		<updated>2026-11-25T00:52:52Z</updated>

		<summary type="html">&lt;p&gt;Sync from open-lakehouse/wiki@7c9abaa&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Infobox concept&lt;br /&gt;
| name            = Spark Connect plugin&lt;br /&gt;
| also_known_as   = Spark Connect extension, Spark Server Library&lt;br /&gt;
| field           = Distributed data processing, client-server protocols&lt;br /&gt;
| introduced      = Apache Spark 3.4.0&lt;br /&gt;
| key_parts       = &amp;lt;code&amp;gt;google.protobuf.Any&amp;lt;/code&amp;gt; extension fields, &amp;lt;code&amp;gt;RelationPlugin&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ExpressionPlugin&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;CommandPlugin&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;spark.connect.extensions.*.classes&amp;lt;/code&amp;gt;, client wrapper&lt;br /&gt;
| implementations = [[Apache Spark]]; used by [[Delta Lake]] (Delta Connect)&lt;br /&gt;
| related         = [[Spark Connect]], [[Spark Connect server]], [[Spark Connect client]]&lt;br /&gt;
}}&lt;br /&gt;
{{Verified|2026-11-23|the v4.3.0 tag of apache/spark (sql/connect/server plugin interfaces, SparkConnectPluginRegistry.scala, SparkConnectPlanner.scala, config/Connect.scala, ConnectProtoUtils.scala, the Spark Connect protobuf files, SparkConnectPluginRegistrySuite.scala), the Spark 4.3.0 Application Development with Spark Connect and configuration pages, SPARK-47062, SPARK-51343, and the Delta Lake Delta Connect documentation}}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;Spark Connect plugin&amp;#039;&amp;#039;&amp;#039; is a server-side class that extends [[Spark Connect]] in [[Apache Spark]] with new relations, expressions or commands: the client packs a custom Protocol Buffers message into an extension field of the Spark Connect protocol, and the plugin on the server turns that message into a Spark logical plan, a Catalyst expression, or an action.&amp;lt;ref name=&amp;quot;appdev&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/docs/4.3.0/app-dev-spark-connect.html |title=Application Development with Spark Connect (Spark 4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; Plugins let a library such as [[Delta Lake]] expose features that classic PySpark reached through the driver JVM to clients that only speak the Spark Connect protocol. The Spark documentation calls a plugin together with its protocol messages and client package a &amp;#039;&amp;#039;Spark Server Library&amp;#039;&amp;#039; and says these extension points were offered with Spark 3.4.&amp;lt;ref name=&amp;quot;appdev&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How does a Spark Connect plugin work? ==&lt;br /&gt;
The Spark Connect protocol reserves a field of type &amp;lt;code&amp;gt;google.protobuf.Any&amp;lt;/code&amp;gt; in its three main message types: &amp;lt;code&amp;gt;Relation.extension&amp;lt;/code&amp;gt; (field 998), &amp;lt;code&amp;gt;Expression.extension&amp;lt;/code&amp;gt; (field 999) and &amp;lt;code&amp;gt;Command.extension&amp;lt;/code&amp;gt; (field 999).&amp;lt;ref name=&amp;quot;relproto&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/connect/common/src/main/protobuf/spark/connect/relations.proto |title=relations.proto (tag v4.3.0) |publisher=Apache Spark on GitHub |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;exprproto&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/connect/common/src/main/protobuf/spark/connect/expressions.proto |title=expressions.proto (tag v4.3.0) |publisher=Apache Spark on GitHub |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;cmdproto&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/connect/common/src/main/protobuf/spark/connect/commands.proto |title=commands.proto (tag v4.3.0) |publisher=Apache Spark on GitHub |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; An &amp;lt;code&amp;gt;Any&amp;lt;/code&amp;gt; holds any serialized protobuf message together with its type URL, so an extension author defines its own message and the core protocol does not change.&amp;lt;ref name=&amp;quot;appdev&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A Spark Server Library has four parts, according to the Spark documentation: the protocol extension (the custom protobuf messages), the Spark Connect plugin, the application logic it calls, and a client package that builds the messages for PySpark or Scala users.&amp;lt;ref name=&amp;quot;appdev&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the Spark Connect planner meets an extension field, it passes the serialized &amp;lt;code&amp;gt;Any&amp;lt;/code&amp;gt; to every registered plugin of the matching kind, in order, and uses the first one that handles it. A plugin signals &amp;quot;not mine&amp;quot; by returning an empty &amp;lt;code&amp;gt;Optional&amp;lt;/code&amp;gt; (relations and expressions) or &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; (commands). If no plugin handles the message, the request fails with an error that names the type URL.&amp;lt;ref name=&amp;quot;planner&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala |title=SparkConnectPlanner.scala (tag v4.3.0) |publisher=Apache Spark on GitHub |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Which plugin interfaces does Spark provide? ==&lt;br /&gt;
In Spark 4.3.0 the plugin interfaces are Java interfaces in the package &amp;lt;code&amp;gt;org.apache.spark.sql.connect.plugin&amp;lt;/code&amp;gt;, each registered with a static configuration key:&amp;lt;ref name=&amp;quot;iface&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/tree/v4.3.0/sql/connect/server/src/main/java/org/apache/spark/sql/connect/plugin |title=sql/connect/server/src/main/java/org/apache/spark/sql/connect/plugin (tag v4.3.0) |publisher=Apache Spark on GitHub |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;connectconf&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/connect/server/src/main/scala/org/apache/spark/sql/connect/config/Connect.scala |title=Connect.scala (tag v4.3.0) |publisher=Apache Spark on GitHub |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;config&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/docs/4.3.0/configuration.html |title=Spark Configuration (Spark 4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Interface !! Method !! Returns !! Configuration key !! Since&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;RelationPlugin&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;transform(byte[] relation, SparkConnectPlanner planner)&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;Optional&amp;amp;lt;LogicalPlan&amp;amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;spark.connect.extensions.relation.classes&amp;lt;/code&amp;gt; || 3.4.0&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ExpressionPlugin&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;transform(byte[] relation, SparkConnectPlanner planner)&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;Optional&amp;amp;lt;Expression&amp;amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;spark.connect.extensions.expression.classes&amp;lt;/code&amp;gt; || 3.4.0&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;CommandPlugin&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;process(byte[] command, SparkConnectPlanner planner)&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;spark.connect.extensions.command.classes&amp;lt;/code&amp;gt; || 3.4.0&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;GetStatusPlugin&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;processRequestExtensions&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;processOperationExtensions&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;Optional&amp;amp;lt;List&amp;amp;lt;Any&amp;amp;gt;&amp;amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;spark.connect.extensions.getStatus.classes&amp;lt;/code&amp;gt; || 4.1.0&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;MLBackendPlugin&amp;lt;/code&amp;gt; (experimental) || &amp;lt;code&amp;gt;transform(String mlName)&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;Optional&amp;amp;lt;String&amp;amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;spark.connect.ml.backend.classes&amp;lt;/code&amp;gt; || 4.0.0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Each key takes a comma-separated list of class names. Plugin classes must be trivially constructable and should not rely on internal state; the registry creates them by reflection the first time a plugin is needed.&amp;lt;ref name=&amp;quot;iface&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;registry&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/connect/server/src/main/scala/org/apache/spark/sql/connect/plugin/SparkConnectPluginRegistry.scala |title=SparkConnectPluginRegistry.scala (tag v4.3.0) |publisher=Apache Spark on GitHub |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; The JAR with the plugin goes on the server&amp;#039;s classpath, for example with &amp;lt;code&amp;gt;spark.jars&amp;lt;/code&amp;gt;.&amp;lt;ref name=&amp;quot;appdev&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Why do plugins receive bytes instead of protobuf objects? ==&lt;br /&gt;
Spark shades its copy of the protobuf library inside the Spark Connect server, so a plugin compiled against &amp;lt;code&amp;gt;com.google.protobuf&amp;lt;/code&amp;gt; cannot share protobuf classes with the server. A 2025 bug report, SPARK-51343, describes the resulting mismatch for the older Scala &amp;lt;code&amp;gt;RelationPlugin&amp;lt;/code&amp;gt; trait, whose bytecode referred to &amp;lt;code&amp;gt;org.sparkproject.connect.protobuf.Any&amp;lt;/code&amp;gt;.&amp;lt;ref name=&amp;quot;jira51343&amp;quot;&amp;gt;{{Cite web |url=https://issues.apache.org/jira/browse/SPARK-51343 |title=SPARK-51343: RelationPlugin scala signature does not match bytecode |publisher=Apache Software Foundation JIRA |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; SPARK-47062, &amp;quot;Make Spark Connect Plugins Java Compatible&amp;quot;, was fixed in Spark 4.0.0.&amp;lt;ref name=&amp;quot;jira47062&amp;quot;&amp;gt;{{Cite web |url=https://issues.apache.org/jira/browse/SPARK-47062 |title=SPARK-47062: Make Spark Connect Plugins Java Compatible |publisher=Apache Software Foundation JIRA |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; In the 4.3.0 source, the planner calls each plugin with &amp;lt;code&amp;gt;extension.toByteArray&amp;lt;/code&amp;gt;, the bytes of the whole &amp;lt;code&amp;gt;Any&amp;lt;/code&amp;gt; message.&amp;lt;ref name=&amp;quot;planner&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A plugin therefore parses the bytes with its own protobuf library. To turn nested Spark Connect messages (for example a child expression or input relation inside the custom message) back into Spark&amp;#039;s own classes, Spark provides &amp;lt;code&amp;gt;org.apache.spark.sql.connect.ConnectProtoUtils&amp;lt;/code&amp;gt;, whose documentation states that it exists for plugins because of the shading of &amp;lt;code&amp;gt;com.google.protobuf&amp;lt;/code&amp;gt;.&amp;lt;ref name=&amp;quot;protoutils&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/connect/common/src/main/scala/org/apache/spark/sql/connect/ConnectProtoUtils.scala |title=ConnectProtoUtils.scala (tag v4.3.0) |publisher=Apache Spark on GitHub |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; The code samples on the Application Development page still show the older signature that takes a &amp;lt;code&amp;gt;protobuf.Any&amp;lt;/code&amp;gt; and returns a Scala &amp;lt;code&amp;gt;Option&amp;lt;/code&amp;gt;.&amp;lt;ref name=&amp;quot;appdev&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
The following expression plugin follows the pattern of the plugin tests in Spark 4.3.0.&amp;lt;ref name=&amp;quot;suite&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/connect/server/src/test/scala/org/apache/spark/sql/connect/plugin/SparkConnectPluginRegistrySuite.scala |title=SparkConnectPluginRegistrySuite.scala (tag v4.3.0) |publisher=Apache Spark on GitHub |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; A custom message &amp;lt;code&amp;gt;MyUpper&amp;lt;/code&amp;gt; (fields &amp;lt;code&amp;gt;spark.connect.Expression child = 1;&amp;lt;/code&amp;gt;) is generated in the package &amp;lt;code&amp;gt;com.example.proto&amp;lt;/code&amp;gt;, and the plugin turns it into Spark&amp;#039;s &amp;lt;code&amp;gt;Upper&amp;lt;/code&amp;gt; expression:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;scala&amp;quot;&amp;gt;&lt;br /&gt;
package com.example&lt;br /&gt;
&lt;br /&gt;
import java.util.Optional&lt;br /&gt;
&lt;br /&gt;
import com.google.protobuf&lt;br /&gt;
import org.apache.spark.sql.catalyst.expressions.{Expression, Upper}&lt;br /&gt;
import org.apache.spark.sql.connect.ConnectProtoUtils&lt;br /&gt;
import org.apache.spark.sql.connect.planner.SparkConnectPlanner&lt;br /&gt;
import org.apache.spark.sql.connect.plugin.ExpressionPlugin&lt;br /&gt;
&lt;br /&gt;
class MyUpperPlugin extends ExpressionPlugin {&lt;br /&gt;
  override def transform(&lt;br /&gt;
      relation: Array[Byte],&lt;br /&gt;
      planner: SparkConnectPlanner): Optional[Expression] = {&lt;br /&gt;
    val any = protobuf.Any.parseFrom(relation)&lt;br /&gt;
    if (!any.is(classOf[com.example.proto.MyUpper])) {&lt;br /&gt;
      return Optional.empty()&lt;br /&gt;
    }&lt;br /&gt;
    val msg = any.unpack(classOf[com.example.proto.MyUpper])&lt;br /&gt;
    // Re-parse the nested Spark Connect message into Spark&amp;#039;s own (shaded) classes.&lt;br /&gt;
    val child = ConnectProtoUtils.parseExpressionWithRecursionLimit(&lt;br /&gt;
      msg.getChild.toByteArray, recursionLimit = 1024)&lt;br /&gt;
    Optional.of(Upper(planner.transformExpression(child)))&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The server is then started with the JAR and the class name, for example &amp;lt;code&amp;gt;--jars my-upper.jar --conf spark.connect.extensions.expression.classes=com.example.MyUpperPlugin&amp;lt;/code&amp;gt;. On the client side, the Spark documentation shows a PySpark wrapper that subclasses the Spark Connect &amp;lt;code&amp;gt;Expression&amp;lt;/code&amp;gt; class, packs the custom message into &amp;lt;code&amp;gt;proto.Expression().extension&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;to_plan()&amp;lt;/code&amp;gt;, and wraps it in a &amp;lt;code&amp;gt;Column&amp;lt;/code&amp;gt;.&amp;lt;ref name=&amp;quot;appdev&amp;quot; /&amp;gt; The Scala client offers the developer APIs &amp;lt;code&amp;gt;SparkSession.newDataFrame(f: proto.Relation.Builder =&amp;gt; Unit)&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;SparkSession.execute(command: proto.Command)&amp;lt;/code&amp;gt;, both since 4.0.0, for sending custom relations and commands.&amp;lt;ref name=&amp;quot;scalasession&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/connect/common/src/main/scala/org/apache/spark/sql/connect/SparkSession.scala |title=SparkSession.scala (Spark Connect Scala client, tag v4.3.0) |publisher=Apache Spark on GitHub |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Spark Connect plugin vs other Spark extension points ==&lt;br /&gt;
The Spark documentation says Spark Connect extension points differ from existing ones such as &amp;lt;code&amp;gt;SparkSessionExtensions&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;SparkPlugin&amp;lt;/code&amp;gt;, because they expose functionality to a client.&amp;lt;ref name=&amp;quot;appdev&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! !! Spark Connect plugin !! &amp;lt;code&amp;gt;SparkSessionExtensions&amp;lt;/code&amp;gt; !! &amp;lt;code&amp;gt;SparkPlugin&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Purpose&lt;br /&gt;
| Map a new protocol message to a plan, expression or command&lt;br /&gt;
| Inject rules, parsers and functions into a Spark session&lt;br /&gt;
| Run driver and executor components inside a Spark application&lt;br /&gt;
|-&lt;br /&gt;
! Visible to remote clients&lt;br /&gt;
| Yes; clients send the custom message&lt;br /&gt;
| Only through SQL or plans the client can already build&lt;br /&gt;
| No&lt;br /&gt;
|-&lt;br /&gt;
! Registered with&lt;br /&gt;
| &amp;lt;code&amp;gt;spark.connect.extensions.*.classes&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;config&amp;quot; /&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;spark.sql.extensions&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/StaticSQLConf.scala |title=StaticSQLConf.scala (tag v4.3.0) |publisher=Apache Spark on GitHub |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;spark.plugins&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/core/src/main/scala/org/apache/spark/internal/config/package.scala |title=core/src/main/scala/org/apache/spark/internal/config/package.scala (tag v4.3.0) |publisher=Apache Spark on GitHub |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Spark Connect server is itself loaded as a &amp;lt;code&amp;gt;SparkPlugin&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;org.apache.spark.sql.connect.SparkConnectPlugin&amp;lt;/code&amp;gt;.&amp;lt;ref name=&amp;quot;sparkplugin&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/connect/server/src/main/scala/org/apache/spark/sql/connect/SparkConnectPlugin.scala |title=SparkConnectPlugin.scala (tag v4.3.0) |publisher=Apache Spark on GitHub |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Use in an open lakehouse ==&lt;br /&gt;
[[Delta Lake]] uses Spark Connect plugins for Delta Connect, available from Delta Lake 4.0.0 and described in its documentation as a preview. The documented server command sets &amp;lt;code&amp;gt;spark.connect.extensions.relation.classes&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;org.apache.spark.sql.connect.delta.DeltaRelationPlugin&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;spark.connect.extensions.command.classes&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;org.apache.spark.sql.connect.delta.DeltaCommandPlugin&amp;lt;/code&amp;gt;, alongside the usual Delta session extension and catalog. The Python &amp;lt;code&amp;gt;DeltaTable&amp;lt;/code&amp;gt; API then works with a remote Spark Connect session.&amp;lt;ref name=&amp;quot;deltaconnect&amp;quot;&amp;gt;{{Cite web |url=https://github.com/delta-io/delta/blob/master/docs/src/content/docs/delta-spark-connect.mdx |title=Delta Connect (aka Spark Connect Support in Delta) |publisher=Delta Lake project |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Spark Connect]]&lt;br /&gt;
* [[Spark Connect server]]&lt;br /&gt;
* [[Spark Connect client]]&lt;br /&gt;
* [[Delta Lake]]&lt;br /&gt;
* [[Apache Spark]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Navbox open lakehouse}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Concepts]]&lt;br /&gt;
[[Category:Glossary terms]]&lt;br /&gt;
[[Category:Apache Spark]]&lt;/div&gt;</summary>
		<author><name>Open Lakehouse Wiki sync</name></author>
	</entry>
</feed>