<?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=Window_functions</id>
	<title>Window functions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://openlakehouse.io/w/index.php?action=history&amp;feed=atom&amp;title=Window_functions"/>
	<link rel="alternate" type="text/html" href="https://openlakehouse.io/w/index.php?title=Window_functions&amp;action=history"/>
	<updated>2026-12-06T00:13:23Z</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=Window_functions&amp;diff=216&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=Window_functions&amp;diff=216&amp;oldid=prev"/>
		<updated>2026-11-25T00:53:03Z</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            = Window functions&lt;br /&gt;
| also_known_as   = Analytic functions, OVER clause&lt;br /&gt;
| field           = SQL query processing&lt;br /&gt;
| key_parts       = Partitioning, ordering, window frame (ROWS or RANGE), ranking, offset and aggregate functions&lt;br /&gt;
| implementations = [[Apache Spark]], PostgreSQL, [[Trino]], [[DuckDB]], Snowflake&lt;br /&gt;
| related         = [[Shuffle]], [[Partition]], [[Lateral column alias]]&lt;br /&gt;
}}&lt;br /&gt;
{{Verified|2026-11-23|the v4.3.0 tag of apache/spark (docs/sql-ref-syntax-qry-select-window.md, docs/sql-ref-syntax-qry-select-qualify.md, docs/sql-ref-syntax-qry-select.md, SqlBaseParser.g4, python/pyspark/sql/window.py, WindowExecBase.scala, sql-tests/inputs/window.sql), the Spark 4.2.0 release notes, PostgreSQL 19 documentation, Trino 484 documentation, DuckDB 2.0 documentation and Snowflake documentation}}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;window function&amp;#039;&amp;#039;&amp;#039; is a SQL function that computes a value for each row from a group of related rows, called the window, without collapsing those rows into one as &amp;lt;code&amp;gt;GROUP BY&amp;lt;/code&amp;gt; does; in [[Apache Spark]] it is written as a function followed by an &amp;lt;code&amp;gt;OVER&amp;lt;/code&amp;gt; clause that names the partitioning, the ordering and an optional frame.&amp;lt;ref name=&amp;quot;sparkwin&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/docs/4.3.0/sql-ref-syntax-qry-select-window.html |title=Window Functions (Spark 4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; Window functions are used for rankings, running totals, moving averages and comparisons with the previous or next row. SQL engines that support them differ in frame types, null handling and the filtering clause &amp;lt;code&amp;gt;QUALIFY&amp;lt;/code&amp;gt;, which the comparison table below sets out.&lt;br /&gt;
&lt;br /&gt;
== How does a window function work? ==&lt;br /&gt;
The &amp;lt;code&amp;gt;OVER&amp;lt;/code&amp;gt; clause has three parts. &amp;lt;code&amp;gt;PARTITION BY&amp;lt;/code&amp;gt; splits rows into independent groups; &amp;lt;code&amp;gt;ORDER BY&amp;lt;/code&amp;gt; orders rows inside each group; and the frame clause picks which rows around the current row the function sees. In Spark SQL the frame is written &amp;lt;code&amp;gt;{ RANGE | ROWS } { frame_start | BETWEEN frame_start AND frame_end }&amp;lt;/code&amp;gt;, with bounds &amp;lt;code&amp;gt;UNBOUNDED PRECEDING&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;offset PRECEDING&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;CURRENT ROW&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;offset FOLLOWING&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;UNBOUNDED FOLLOWING&amp;lt;/code&amp;gt;; an omitted &amp;lt;code&amp;gt;frame_end&amp;lt;/code&amp;gt; means &amp;lt;code&amp;gt;CURRENT ROW&amp;lt;/code&amp;gt;.&amp;lt;ref name=&amp;quot;sparkwin&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A &amp;lt;code&amp;gt;ROWS&amp;lt;/code&amp;gt; frame counts physical rows. A &amp;lt;code&amp;gt;RANGE&amp;lt;/code&amp;gt; frame uses value distance on the ordering column, so rows with equal ordering values (peers) are in or out of the frame together. Spark accepts numeric, date and interval offsets in &amp;lt;code&amp;gt;RANGE&amp;lt;/code&amp;gt; frames, for example &amp;lt;code&amp;gt;RANGE BETWEEN CURRENT ROW AND INTERVAL 23 DAYS 4 HOURS FOLLOWING&amp;lt;/code&amp;gt;.&amp;lt;ref name=&amp;quot;wintests&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/core/src/test/resources/sql-tests/inputs/window.sql |title=sql-tests/inputs/window.sql (v4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What is the default frame? ==&lt;br /&gt;
In Spark, when a window has no ordering, the frame is the whole partition (&amp;lt;code&amp;gt;ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING&amp;lt;/code&amp;gt;). When ordering is defined, the default is a growing frame, &amp;lt;code&amp;gt;RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW&amp;lt;/code&amp;gt;.&amp;lt;ref name=&amp;quot;pywin&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/python/pyspark/sql/window.py |title=window.py (v4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; This is why &amp;lt;code&amp;gt;last_value(x) OVER (ORDER BY t)&amp;lt;/code&amp;gt; returns the current row&amp;#039;s value (or that of its last peer) unless the frame is extended to &amp;lt;code&amp;gt;UNBOUNDED FOLLOWING&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Which kinds of window functions are there? ==&lt;br /&gt;
Spark groups window functions into three kinds.&amp;lt;ref name=&amp;quot;sparkwin&amp;quot; /&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ranking functions:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;ROW_NUMBER&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;RANK&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;DENSE_RANK&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;PERCENT_RANK&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;NTILE&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Analytic (offset and value) functions:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;LAG&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;LEAD&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;NTH_VALUE&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;FIRST_VALUE&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;LAST_VALUE&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;CUME_DIST&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Aggregate functions&amp;#039;&amp;#039;&amp;#039; used with &amp;lt;code&amp;gt;OVER&amp;lt;/code&amp;gt;, such as &amp;lt;code&amp;gt;SUM&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;AVG&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;MIN&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;MAX&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;COUNT&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;LAG&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;LEAD&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;NTH_VALUE&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;FIRST_VALUE&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;LAST_VALUE&amp;lt;/code&amp;gt; accept &amp;lt;code&amp;gt;IGNORE NULLS&amp;lt;/code&amp;gt; in Spark; the default is &amp;lt;code&amp;gt;RESPECT NULLS&amp;lt;/code&amp;gt;.&amp;lt;ref name=&amp;quot;sparkwin&amp;quot; /&amp;gt; &amp;lt;code&amp;gt;RANK&amp;lt;/code&amp;gt; leaves gaps after ties and &amp;lt;code&amp;gt;DENSE_RANK&amp;lt;/code&amp;gt; does not.&amp;lt;ref name=&amp;quot;sparkwin&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do you filter on a window function? ==&lt;br /&gt;
Spark SQL has a &amp;lt;code&amp;gt;QUALIFY&amp;lt;/code&amp;gt; clause that filters rows after window functions are evaluated, either by referring to a window function&amp;#039;s alias in the &amp;lt;code&amp;gt;SELECT&amp;lt;/code&amp;gt; list or by writing the window function in the condition itself; it was added in Spark 4.2.0 (SPARK-31561).&amp;lt;ref name=&amp;quot;qualify&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/docs/4.3.0/sql-ref-syntax-qry-select-qualify.html |title=QUALIFY Clause (Spark 4.3.0) |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; Without &amp;lt;code&amp;gt;QUALIFY&amp;lt;/code&amp;gt;, the same result needs a subquery or common table expression with a &amp;lt;code&amp;gt;WHERE&amp;lt;/code&amp;gt; on the computed column. A named window can be declared once with the &amp;lt;code&amp;gt;WINDOW&amp;lt;/code&amp;gt; clause and reused.&amp;lt;ref name=&amp;quot;select&amp;quot;&amp;gt;{{Cite web |url=https://spark.apache.org/docs/4.3.0/sql-ref-syntax-qry-select.html |title=SELECT (Spark 4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
PySpark, with a rank, the previous salary and a three-row moving average per department:&amp;lt;ref name=&amp;quot;pywin&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
from pyspark.sql import Window, functions as F&lt;br /&gt;
&lt;br /&gt;
w = Window.partitionBy(&amp;quot;dept&amp;quot;).orderBy(&amp;quot;salary&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
df.select(&lt;br /&gt;
    &amp;quot;name&amp;quot;, &amp;quot;dept&amp;quot;, &amp;quot;salary&amp;quot;,&lt;br /&gt;
    F.rank().over(w).alias(&amp;quot;rank&amp;quot;),&lt;br /&gt;
    F.lag(&amp;quot;salary&amp;quot;).over(w).alias(&amp;quot;prev_salary&amp;quot;),&lt;br /&gt;
    F.avg(&amp;quot;salary&amp;quot;).over(w.rowsBetween(-1, 1)).alias(&amp;quot;moving_avg&amp;quot;),&lt;br /&gt;
).show()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Spark SQL, keeping the highest-paid employee of each department with &amp;lt;code&amp;gt;QUALIFY&amp;lt;/code&amp;gt;:&amp;lt;ref name=&amp;quot;qualify&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SELECT name, dept, salary&lt;br /&gt;
FROM employees&lt;br /&gt;
QUALIFY ROW_NUMBER() OVER (PARTITION BY dept ORDER BY salary DESC) = 1;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How do window functions run in Spark? ==&lt;br /&gt;
Spark&amp;#039;s physical window operator requires its input to be clustered by the &amp;lt;code&amp;gt;PARTITION BY&amp;lt;/code&amp;gt; columns and sorted by the partition and &amp;lt;code&amp;gt;ORDER BY&amp;lt;/code&amp;gt; columns, so the planner usually adds a [[shuffle]] and a sort before it. A window with no &amp;lt;code&amp;gt;PARTITION BY&amp;lt;/code&amp;gt; requires all rows in one partition, and Spark logs a warning that this &amp;quot;can cause serious performance degradation&amp;quot;.&amp;lt;ref name=&amp;quot;winexec&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/core/src/main/scala/org/apache/spark/sql/execution/window/WindowExecBase.scala |title=WindowExecBase.scala (v4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Engine differences ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Feature !! Apache Spark 4.3 !! PostgreSQL 19 !! Trino 484 !! DuckDB 2.0 !! Snowflake&lt;br /&gt;
|-&lt;br /&gt;
! Frame types&lt;br /&gt;
| &amp;lt;code&amp;gt;ROWS&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;RANGE&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;sparkwin&amp;quot; /&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;ROWS&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;RANGE&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;GROUPS&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;pgexpr&amp;quot;&amp;gt;{{Cite web |url=https://www.postgresql.org/docs/current/sql-expressions.html |title=Value Expressions: Window Function Calls (PostgreSQL 19) |publisher=PostgreSQL Global Development Group |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;ROWS&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;RANGE&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;GROUPS&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;trinomr&amp;quot;&amp;gt;{{Cite web |url=https://trino.io/docs/current/sql/pattern-recognition-in-window.html |title=Row pattern recognition in window structures (Trino 484) |publisher=Trino Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;ROWS&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;RANGE&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;GROUPS&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;duck&amp;quot;&amp;gt;{{Cite web |url=https://duckdb.org/docs/2.0/sql/functions/window_functions |title=Window Functions (DuckDB 2.0) |publisher=DuckDB Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;ROWS&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;RANGE&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;snowwin&amp;quot;&amp;gt;{{Cite web |url=https://docs.snowflake.com/en/sql-reference/functions-window-syntax |title=Window function syntax and usage |publisher=Snowflake |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Frame exclusion (&amp;lt;code&amp;gt;EXCLUDE&amp;lt;/code&amp;gt;)&lt;br /&gt;
| Not in the frame grammar&amp;lt;ref name=&amp;quot;grammar&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/spark/blob/v4.3.0/sql/api/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseParser.g4 |title=SqlBaseParser.g4 (v4.3.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| Yes&amp;lt;ref name=&amp;quot;pgexpr&amp;quot; /&amp;gt;&lt;br /&gt;
| Yes&amp;lt;ref name=&amp;quot;trinoselect&amp;quot;&amp;gt;{{Cite web |url=https://trino.io/docs/current/sql/select.html |title=SELECT (Trino 484) |publisher=Trino Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| Yes&amp;lt;ref name=&amp;quot;duck&amp;quot; /&amp;gt;&lt;br /&gt;
| Not documented&amp;lt;ref name=&amp;quot;snowwin&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Default frame with &amp;lt;code&amp;gt;ORDER BY&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;pywin&amp;quot; /&amp;gt;&lt;br /&gt;
| Same&amp;lt;ref name=&amp;quot;pgexpr&amp;quot; /&amp;gt;&lt;br /&gt;
| Same&amp;lt;ref name=&amp;quot;trinoselect&amp;quot; /&amp;gt;&lt;br /&gt;
| Same&amp;lt;ref name=&amp;quot;duck&amp;quot; /&amp;gt;&lt;br /&gt;
| Same for aggregates; &amp;lt;code&amp;gt;ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING&amp;lt;/code&amp;gt; for &amp;lt;code&amp;gt;FIRST_VALUE&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;LAST_VALUE&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;NTH_VALUE&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;snowwin&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;code&amp;gt;IGNORE NULLS&amp;lt;/code&amp;gt; on offset and value functions&lt;br /&gt;
| Yes&amp;lt;ref name=&amp;quot;sparkwin&amp;quot; /&amp;gt;&lt;br /&gt;
| Yes&amp;lt;ref name=&amp;quot;pgfunc&amp;quot;&amp;gt;{{Cite web |url=https://www.postgresql.org/docs/current/functions-window.html |title=Window Functions (PostgreSQL 19) |publisher=PostgreSQL Global Development Group |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| Yes&amp;lt;ref name=&amp;quot;trinowin&amp;quot;&amp;gt;{{Cite web |url=https://trino.io/docs/current/functions/window.html |title=Window functions (Trino 484) |publisher=Trino Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| Yes&amp;lt;ref name=&amp;quot;duck&amp;quot; /&amp;gt;&lt;br /&gt;
| Yes (for example &amp;lt;code&amp;gt;LAG&amp;lt;/code&amp;gt;)&amp;lt;ref&amp;gt;{{Cite web |url=https://docs.snowflake.com/en/sql-reference/functions/lag |title=LAG |publisher=Snowflake |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;code&amp;gt;QUALIFY&amp;lt;/code&amp;gt;&lt;br /&gt;
| Yes, since 4.2.0&amp;lt;ref name=&amp;quot;r420&amp;quot; /&amp;gt;&lt;br /&gt;
| Not documented&amp;lt;ref name=&amp;quot;pgselect&amp;quot;&amp;gt;{{Cite web |url=https://www.postgresql.org/docs/current/sql-select.html |title=SELECT (PostgreSQL 19) |publisher=PostgreSQL Global Development Group |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| Not documented&amp;lt;ref name=&amp;quot;trinoselect&amp;quot; /&amp;gt;&lt;br /&gt;
| Yes&amp;lt;ref name=&amp;quot;duck&amp;quot; /&amp;gt;&lt;br /&gt;
| Yes&amp;lt;ref&amp;gt;{{Cite web |url=https://docs.snowflake.com/en/sql-reference/constructs/qualify |title=QUALIFY |publisher=Snowflake |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Named &amp;lt;code&amp;gt;WINDOW&amp;lt;/code&amp;gt; clause&lt;br /&gt;
| Yes&amp;lt;ref name=&amp;quot;select&amp;quot; /&amp;gt;&lt;br /&gt;
| Yes&amp;lt;ref name=&amp;quot;pgselect&amp;quot; /&amp;gt;&lt;br /&gt;
| Yes&amp;lt;ref name=&amp;quot;trinowin&amp;quot; /&amp;gt;&lt;br /&gt;
| Yes&amp;lt;ref name=&amp;quot;duck&amp;quot; /&amp;gt;&lt;br /&gt;
| Not documented&amp;lt;ref name=&amp;quot;snowwin&amp;quot; /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Not documented&amp;quot; means the cited documentation page for that engine does not describe the feature.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Lateral column alias]]&lt;br /&gt;
* [[Shuffle]]&lt;br /&gt;
* [[Partition]]&lt;br /&gt;
* [[Apache Spark]]&lt;br /&gt;
* [[DuckDB]]&lt;br /&gt;
* [[Trino]]&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;br /&gt;
[[Category:Query engines]]&lt;/div&gt;</summary>
		<author><name>Open Lakehouse Wiki sync</name></author>
	</entry>
</feed>