<?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=User-defined_function_(Spark)</id>
	<title>User-defined function (Spark) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://openlakehouse.io/w/index.php?action=history&amp;feed=atom&amp;title=User-defined_function_(Spark)"/>
	<link rel="alternate" type="text/html" href="https://openlakehouse.io/w/index.php?title=User-defined_function_(Spark)&amp;action=history"/>
	<updated>2026-12-06T00:13:21Z</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=User-defined_function_(Spark)&amp;diff=213&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=User-defined_function_(Spark)&amp;diff=213&amp;oldid=prev"/>
		<updated>2026-11-25T00:53:02Z</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            = User-defined function (Spark)&lt;br /&gt;
| also_known_as   = UDF, Spark UDF, PySpark UDF&lt;br /&gt;
| field           = Distributed data processing&lt;br /&gt;
| introduced      = Python UDFs since Spark 1.3.0 (&amp;lt;code&amp;gt;pyspark.sql.functions.udf&amp;lt;/code&amp;gt;)&lt;br /&gt;
| key_parts       = Function body, return type, evaluation type (JVM, pickled Python, Arrow-optimized Python, pandas, Arrow)&lt;br /&gt;
| implementations = [[Apache Spark]]&lt;br /&gt;
| related         = [[Pandas UDF]], [[Arrow-optimized Python UDF]], [[Python UDTF]], [[Apache Arrow]], [[Spark Connect]]&lt;br /&gt;
}}&lt;br /&gt;
{{Verified|2026-11-23|the v4.3.0 tag of apache/spark (python/pyspark/sql/functions/builtin.py, python/pyspark/sql/pandas/functions.py, SQLConf.scala, the PySpark Arrow, Arrow UDF and UDF user guides, the PySpark migration guide, docs/sql-ref-functions-udf-scalar.md, docs/sql-ref-syntax-ddl-create-sql-function.md), the Spark 2.3.0, 3.5.0, 4.1.0, 4.2.0 and 4.3.0 release notes, and two Databricks engineering blog posts}}&lt;br /&gt;
&lt;br /&gt;
In [[Apache Spark]], a &amp;#039;&amp;#039;&amp;#039;user-defined function&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;UDF&amp;#039;&amp;#039;&amp;#039;) is a function written by the user in Scala, Java, Python or SQL and registered with Spark so that it can be called on columns of a [[DataFrame]] or in a Spark SQL query, like a built-in function.&amp;lt;ref name=&amp;quot;scalar&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/docs/4.3.0/sql-ref-functions-udf-scalar.html |title=Scalar User Defined Functions (UDFs) (Spark 4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; A scalar UDF acts on one row and returns one value.&amp;lt;ref name=&amp;quot;scalar&amp;quot; /&amp;gt; PySpark offers several kinds of Python UDF that differ in how data moves between the Java virtual machine (JVM) and the Python worker: pickled Python UDFs, [[Arrow-optimized Python UDF|Arrow-optimized Python UDFs]], [[Pandas UDF|pandas UDFs]] and Arrow UDFs. The choice decides how much serialization overhead each call pays.&amp;lt;ref name=&amp;quot;guide&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/docs/4.3.0/api/python/user_guide/udfandudtf.html |title=Chapter 5: Unleashing UDFs &amp;amp; UDTFs (PySpark 4.3.0 user guide) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What kinds of UDF does Spark support? ==&lt;br /&gt;
The PySpark user guide for Spark 4.3.0 names three main categories of Python UDF: scalar Python UDFs, pandas UDFs and Arrow UDFs.&amp;lt;ref name=&amp;quot;guide&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Scalar Python UDFs&amp;#039;&amp;#039;&amp;#039; take and return Python objects one row at a time. The objects are serialized with pickle (through cloudpickle) or with [[Apache Arrow]].&amp;lt;ref name=&amp;quot;guide&amp;quot; /&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Pandas UDFs&amp;#039;&amp;#039;&amp;#039;, also called vectorized UDFs, take and return pandas &amp;lt;code&amp;gt;Series&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;DataFrame&amp;lt;/code&amp;gt; objects and work on a batch of rows at a time; Arrow carries the data.&amp;lt;ref name=&amp;quot;guide&amp;quot; /&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Arrow UDFs&amp;#039;&amp;#039;&amp;#039; take and return &amp;lt;code&amp;gt;pyarrow.Array&amp;lt;/code&amp;gt; objects (or iterators of them) directly, without converting to pandas.&amp;lt;ref name=&amp;quot;guide&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;arrowudf&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/docs/4.3.0/api/python/tutorial/sql/arrow_python_udf.html |title=Arrow Python UDFs (PySpark 4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
JVM UDFs are written in Scala or Java with &amp;lt;code&amp;gt;udf(...)&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;spark.udf.register&amp;lt;/code&amp;gt;, and the class &amp;lt;code&amp;gt;UserDefinedFunction&amp;lt;/code&amp;gt; provides &amp;lt;code&amp;gt;asNonNullable&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;asNondeterministic&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;withName&amp;lt;/code&amp;gt;.&amp;lt;ref name=&amp;quot;scalar&amp;quot; /&amp;gt; Spark SQL also has SQL UDFs, created with &amp;lt;code&amp;gt;CREATE FUNCTION ... RETURN&amp;lt;/code&amp;gt;, whose body is a SQL expression or query and which can return a scalar or a table.&amp;lt;ref name=&amp;quot;sqlfn&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/docs/4.3.0/sql-ref-syntax-ddl-create-sql-function.html |title=CREATE FUNCTION (SQL) (Spark 4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; Functions that return a table from Python are [[Python UDTF|Python user-defined table functions]].&lt;br /&gt;
&lt;br /&gt;
== Spark UDF types compared ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! !! JVM UDF (Scala/Java) !! Pickled Python UDF !! Arrow-optimized Python UDF !! Pandas UDF !! Arrow UDF&lt;br /&gt;
|-&lt;br /&gt;
! How it is defined&lt;br /&gt;
| &amp;lt;code&amp;gt;udf(...)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;spark.udf.register&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;scalar&amp;quot; /&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;@udf(..., useArrow=False)&amp;lt;/code&amp;gt; or with &amp;lt;code&amp;gt;spark.sql.execution.pythonUDF.arrow.enabled=false&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;upgrade&amp;quot; /&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;@udf&amp;lt;/code&amp;gt; (default since Spark 4.2) or &amp;lt;code&amp;gt;useArrow=True&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;upgrade&amp;quot; /&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;@pandas_udf&amp;lt;/code&amp;gt; with pandas type hints&amp;lt;ref name=&amp;quot;arrowpandas&amp;quot; /&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;@arrow_udf&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;@udf&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;pyarrow.Array&amp;lt;/code&amp;gt; type hints&amp;lt;ref name=&amp;quot;arrowudf&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Where the code runs&lt;br /&gt;
| Inside the executor JVM&lt;br /&gt;
| Python worker process&lt;br /&gt;
| Python worker process&lt;br /&gt;
| Python worker process&lt;br /&gt;
| Python worker process&lt;br /&gt;
|-&lt;br /&gt;
! Unit of work for the function&lt;br /&gt;
| One row&lt;br /&gt;
| One row&amp;lt;ref name=&amp;quot;guide&amp;quot; /&amp;gt;&lt;br /&gt;
| One row; data moves in Arrow batches&amp;lt;ref name=&amp;quot;arrowpandas&amp;quot; /&amp;gt;&lt;br /&gt;
| A batch, as pandas &amp;lt;code&amp;gt;Series&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;DataFrame&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;guide&amp;quot; /&amp;gt;&lt;br /&gt;
| A batch, as &amp;lt;code&amp;gt;pyarrow.Array&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;arrowudf&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! JVM to Python serialization&lt;br /&gt;
| None&lt;br /&gt;
| Pickle (cloudpickle)&amp;lt;ref name=&amp;quot;guide&amp;quot; /&amp;gt;&lt;br /&gt;
| Arrow&amp;lt;ref name=&amp;quot;guide&amp;quot; /&amp;gt;&lt;br /&gt;
| Arrow&amp;lt;ref name=&amp;quot;guide&amp;quot; /&amp;gt;&lt;br /&gt;
| Arrow, with no pandas conversion&amp;lt;ref name=&amp;quot;arrowudf&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Available since&lt;br /&gt;
| Spark 1.3.0 (&amp;lt;code&amp;gt;functions.udf&amp;lt;/code&amp;gt; in Scala)&amp;lt;ref name=&amp;quot;scalafn&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/api/src/main/scala/org/apache/spark/sql/functions.scala |title=sql/api/src/main/scala/org/apache/spark/sql/functions.scala (v4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| Spark 1.3.0&amp;lt;ref name=&amp;quot;udfapi&amp;quot; /&amp;gt;&lt;br /&gt;
| Spark 3.5.0 (SPARK-40307); default in 4.2.0&amp;lt;ref name=&amp;quot;r350&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;r420&amp;quot; /&amp;gt;&lt;br /&gt;
| Spark 2.3.0&amp;lt;ref name=&amp;quot;pandasapi&amp;quot; /&amp;gt;&lt;br /&gt;
| Spark 4.1.0 (SPARK-52214)&amp;lt;ref name=&amp;quot;r410&amp;quot; /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Which UDF type is fastest? ==&lt;br /&gt;
The performance tiers follow from how much work each call spends moving data between the JVM and Python. A JVM UDF runs in the executor JVM and needs no transfer to Python. Every Python UDF runs in a separate Python worker process, so its input and output must cross from the JVM to Python and back; PySpark uses Arrow to make that transfer efficient.&amp;lt;ref name=&amp;quot;arrowpandas&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/docs/4.3.0/api/python/tutorial/sql/arrow_pandas.html |title=Apache Arrow in PySpark (PySpark 4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Among Python UDFs, pickled UDFs pay the most serialization overhead. The PySpark user guide says they rely on cloudpickle and meet performance bottlenecks with large inputs and outputs.&amp;lt;ref name=&amp;quot;guide&amp;quot; /&amp;gt; When Databricks engineers introduced pandas UDFs for Spark 2.3 in 2017, they wrote that row-at-a-time Python UDFs &amp;quot;suffer from high serialization and invocation overhead&amp;quot;, which led many pipelines to write UDFs in Java or Scala and call them from Python; their benchmark found pandas UDFs 3 to over 100 times faster than row-at-a-time UDFs.&amp;lt;ref name=&amp;quot;blog2017&amp;quot;&amp;gt;{{Cite web |url=https://www.databricks.com/blog/2017/10/30/introducing-vectorized-udfs-for-pyspark.html |title=Introducing Pandas UDF for PySpark |publisher=Databricks |date=2017-10-30 |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Arrow-optimized Python UDFs keep the row-at-a-time function but replace pickle with Arrow for the transfer. In a Databricks benchmark for Spark 3.5, an Arrow-optimized Python UDF ran about 1.6 times faster than a pickled UDF on one transformation, and about 1.9 times faster when UDFs were chained, on a 32 GB dataset.&amp;lt;ref name=&amp;quot;blog2023&amp;quot;&amp;gt;{{Cite web |url=https://www.databricks.com/blog/arrow-optimized-python-udfs-apache-sparktm-35 |title=Arrow-optimized Python UDFs in Apache Spark 3.5 |publisher=Databricks |date=2023-11-06 |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; These are measured results for one cluster and dataset, not general guarantees.&lt;br /&gt;
&lt;br /&gt;
Pandas UDFs and Arrow UDFs are vectorized: the function receives a whole batch, so library code (pandas or PyArrow compute functions) can process many rows per call. Arrow UDFs keep the columnar layout end to end and avoid the extra copies of a pandas conversion.&amp;lt;ref name=&amp;quot;arrowudf&amp;quot; /&amp;gt; The batch size for Arrow transfers is &amp;lt;code&amp;gt;spark.sql.execution.arrow.maxRecordsPerBatch&amp;lt;/code&amp;gt;, default 10,000 rows.&amp;lt;ref name=&amp;quot;arrowpandas&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A Python UDF is opaque to the Spark optimizer. Spark 4.3.0 adds an experimental option, &amp;lt;code&amp;gt;spark.sql.experimental.optimizer.transpilePyUDFs&amp;lt;/code&amp;gt; (default &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;), that tries to rewrite simple Python UDFs as Catalyst expressions; it requires ANSI mode and does not yet work with [[Spark Connect]].&amp;lt;ref name=&amp;quot;sqlconf&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala |title=SQLConf.scala (v4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;r430&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/releases/spark-release-4-3-0.html |title=Spark Release 4.3.0 |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to write a UDF in PySpark ==&lt;br /&gt;
The following PySpark example defines the same string function three ways. It runs on Spark 4.3.0 with PyArrow installed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
import pandas as pd&lt;br /&gt;
import pyarrow as pa&lt;br /&gt;
import pyarrow.compute as pc&lt;br /&gt;
from pyspark.sql.functions import udf, pandas_udf, arrow_udf&lt;br /&gt;
&lt;br /&gt;
# Scalar Python UDF: one row per call (Arrow-optimized by default since Spark 4.2)&lt;br /&gt;
@udf(returnType=&amp;quot;int&amp;quot;)&lt;br /&gt;
def slen(s: str) -&amp;gt; int:&lt;br /&gt;
    return len(s)&lt;br /&gt;
&lt;br /&gt;
# Pandas UDF: one pandas Series per batch&lt;br /&gt;
@pandas_udf(&amp;quot;string&amp;quot;)&lt;br /&gt;
def upper_pd(s: pd.Series) -&amp;gt; pd.Series:&lt;br /&gt;
    return s.str.upper()&lt;br /&gt;
&lt;br /&gt;
# Arrow UDF: one pyarrow.Array per batch&lt;br /&gt;
@arrow_udf(&amp;quot;string&amp;quot;)&lt;br /&gt;
def upper_pa(s: pa.Array) -&amp;gt; pa.Array:&lt;br /&gt;
    return pc.ascii_upper(s)&lt;br /&gt;
&lt;br /&gt;
df = spark.createDataFrame([(&amp;quot;John Doe&amp;quot;,)], [&amp;quot;name&amp;quot;])&lt;br /&gt;
df.select(slen(&amp;quot;name&amp;quot;), upper_pd(&amp;quot;name&amp;quot;), upper_pa(&amp;quot;name&amp;quot;)).show()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A Python UDF can be registered for SQL with &amp;lt;code&amp;gt;spark.udf.register(&amp;quot;slen&amp;quot;, slen)&amp;lt;/code&amp;gt; and then called as &amp;lt;code&amp;gt;SELECT slen(name) FROM t&amp;lt;/code&amp;gt;.&amp;lt;ref name=&amp;quot;udfapi&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/python/pyspark/sql/functions/builtin.py |title=python/pyspark/sql/functions/builtin.py (v4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What changed in Spark 4.x? ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Spark 4.0.0&amp;#039;&amp;#039;&amp;#039; added keyword arguments for Python UDFs.&amp;lt;ref name=&amp;quot;udfapi&amp;quot; /&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Spark 4.1.0&amp;#039;&amp;#039;&amp;#039; added Arrow UDFs (&amp;lt;code&amp;gt;arrow_udf&amp;lt;/code&amp;gt;, SPARK-52214) and Arrow UDTFs (&amp;lt;code&amp;gt;arrow_udtf&amp;lt;/code&amp;gt;, SPARK-52979). From 4.1.0, &amp;lt;code&amp;gt;udf&amp;lt;/code&amp;gt; also creates a vectorized UDF when the type hints match a pandas UDF or Arrow UDF pattern and &amp;lt;code&amp;gt;useArrow&amp;lt;/code&amp;gt; is not set.&amp;lt;ref name=&amp;quot;r410&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/releases/spark-release-4.1.0.html |title=Spark Release 4.1.0 |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;udfapi&amp;quot; /&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Spark 4.2.0&amp;#039;&amp;#039;&amp;#039; made regular Python UDFs Arrow-optimized by default: &amp;lt;code&amp;gt;spark.sql.execution.pythonUDF.arrow.enabled&amp;lt;/code&amp;gt; now defaults to &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; (SPARK-54555). Setting it to &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; restores pickled UDFs.&amp;lt;ref name=&amp;quot;upgrade&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/docs/4.3.0/api/python/migration_guide/pyspark_upgrade.html |title=Upgrading PySpark (PySpark 4.3.0 migration guide) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;r420&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/releases/spark-release-4-2-0.html |title=Spark Release 4.2.0 |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The pandas UDF API dates from Spark 2.3.0.&amp;lt;ref name=&amp;quot;pandasapi&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/python/pyspark/sql/pandas/functions.py |title=python/pyspark/sql/pandas/functions.py (v4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; Arrow-optimized Python UDFs were introduced in Spark 3.5.0.&amp;lt;ref name=&amp;quot;r350&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/releases/spark-release-3-5-0.html |title=Spark Release 3.5.0 |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
SQL boolean expressions do not short-circuit around a UDF: in &amp;lt;code&amp;gt;WHERE cond AND udf(x)&amp;lt;/code&amp;gt; the UDF may be called on every row regardless of &amp;lt;code&amp;gt;cond&amp;lt;/code&amp;gt;, so a UDF that can fail on some inputs must handle them itself.&amp;lt;ref name=&amp;quot;arrowudf&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Pandas UDF]]&lt;br /&gt;
* [[Arrow-optimized Python UDF]]&lt;br /&gt;
* [[Python UDTF]]&lt;br /&gt;
* [[Python data source API (Spark)]]&lt;br /&gt;
* [[Apache Arrow]]&lt;br /&gt;
* [[Spark Connect]]&lt;br /&gt;
* [[Encoder (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>