<?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=Apache_Gluten</id>
	<title>Apache Gluten - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://openlakehouse.io/w/index.php?action=history&amp;feed=atom&amp;title=Apache_Gluten"/>
	<link rel="alternate" type="text/html" href="https://openlakehouse.io/w/index.php?title=Apache_Gluten&amp;action=history"/>
	<updated>2026-12-06T00:08:44Z</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=Apache_Gluten&amp;diff=122&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=Apache_Gluten&amp;diff=122&amp;oldid=prev"/>
		<updated>2026-11-25T00:52:33Z</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 software&lt;br /&gt;
| name                = Apache Gluten&lt;br /&gt;
| developer           = Apache Software Foundation; initiated by Intel and Kyligence&lt;br /&gt;
| initial_release     = 2022 (project start); entered the Apache Incubator on 2023-12-15&lt;br /&gt;
| latest_release      = 1.7.0&lt;br /&gt;
| latest_release_date = 2026-08-26&lt;br /&gt;
| written_in          = Scala, C++, Java&lt;br /&gt;
| type                = Native execution plugin for Apache Spark SQL&lt;br /&gt;
| license             = Apache License 2.0&lt;br /&gt;
| website             = [https://gluten.apache.org gluten.apache.org]&lt;br /&gt;
| repo                = [https://github.com/apache/gluten github.com/apache/gluten]&lt;br /&gt;
| related             = [[Apache Spark]], [[Velox]], [[Apache DataFusion Comet]], [[Native execution engine (Spark)]], [[Project Tungsten]]&lt;br /&gt;
}}&lt;br /&gt;
{{Verified|2026-11-23|the Apache Incubator status page for Gluten, the ASF graduation announcement of 2026-03-05, the ASF board history page for Gluten, the GitHub releases of apache/gluten (v1.7.0 and v1.8.0-rc0), the Gluten downloads page, and README.md, docs/Configuration.md and docs/backends/velox/get-started/Velox.md on the main branch and the v1.7.0 tag}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Apache Gluten&amp;#039;&amp;#039;&amp;#039; is an open source plugin for [[Apache Spark]] that converts Spark SQL physical plans into plans for a native engine, such as [[Velox]] or ClickHouse, and runs the supported parts of a query in native code instead of in the Java virtual machine (JVM).&amp;lt;ref name=&amp;quot;readme&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/gluten/blob/main/README.md |title=Apache Gluten README |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; Gluten keeps Spark&amp;#039;s scheduling, fault tolerance and APIs, so DataFrame code and SQL queries do not change; only the cluster configuration does.&amp;lt;ref name=&amp;quot;readme&amp;quot; /&amp;gt; Gluten is a top-level project of the Apache Software Foundation (ASF) since 2026, and it is one of the [[Native execution engine (Spark)|native execution engines]] available for Spark.&amp;lt;ref name=&amp;quot;incubator&amp;quot;&amp;gt;{{Cite web |url=https://incubator.apache.org/projects/gluten.html |title=Apache Gluten Project Incubation Status |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What is Apache Gluten? ==&lt;br /&gt;
Apache Gluten is a middle layer between Spark and a native SQL engine. Its README describes the design principle as reusing Spark&amp;#039;s control flow while offloading compute-intensive data processing to the native side. The name is Latin for &amp;quot;glue&amp;quot;.&amp;lt;ref name=&amp;quot;readme&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache Gluten converts the Spark physical plan into a [https://substrait.io Substrait] plan, passes it to the native side through the Java Native Interface (JNI), and builds a chain of native operators from it. Results come back as Spark &amp;lt;code&amp;gt;ColumnarBatch&amp;lt;/code&amp;gt; objects through Spark&amp;#039;s columnar API, and Gluten uses the Apache Arrow data format as its in-memory representation.&amp;lt;ref name=&amp;quot;readme&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache Gluten supports two backends. The Velox backend uses [[Velox]], a C++ library of data processing components. The ClickHouse backend uses a ClickHouse fork maintained by Kyligence. The design allows more backends to be added.&amp;lt;ref name=&amp;quot;readme&amp;quot; /&amp;gt; The ASF graduation announcement also mentions future integration with Apache DataFusion as a goal of the extensible design.&amp;lt;ref name=&amp;quot;asfnews&amp;quot;&amp;gt;{{Cite web |url=https://news.apache.org/foundation/entry/the-apache-software-foundation-graduates-two-open-source-projects-from-incubator |title=The Apache Software Foundation Graduates Two Open Source Projects from Incubator |publisher=The ASF Blog |date=2026-03-05 |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History and status ==&lt;br /&gt;
Apache Gluten was initiated by Intel and Kyligence in 2022; its README lists BIGO, Meituan, Alibaba Cloud, NetEase, Baidu, Microsoft, IBM and Google among other contributing companies.&amp;lt;ref name=&amp;quot;readme&amp;quot; /&amp;gt; Releases up to 1.1.1 were made before the project joined the ASF and are marked &amp;quot;non-Apache release&amp;quot; on the downloads page.&amp;lt;ref name=&amp;quot;downloads&amp;quot;&amp;gt;{{Cite web |url=https://gluten.apache.org/downloads/ |title=Downloads |publisher=Apache Gluten |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache Gluten entered the Apache Incubator on 2023-12-15. Its first Apache release in the incubator was 1.2.0 on 2024-09-03, followed by 1.3.0, 1.4.0 and 1.5.0 (2025-10-29).&amp;lt;ref name=&amp;quot;incubator&amp;quot; /&amp;gt; The project graduated on 2026-02-18, the date the ASF board established it as a top-level project, and the ASF announced the graduation on 2026-03-05.&amp;lt;ref name=&amp;quot;incubator&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;asfnews&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;board&amp;quot;&amp;gt;{{Cite web |url=https://www.apache.org/foundation/board/minutes/Gluten.html |title=Board history: Gluten |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; Gluten is therefore no longer incubating.&lt;br /&gt;
&lt;br /&gt;
The latest Apache Gluten release is 1.7.0, published on GitHub on 2026-08-26.&amp;lt;ref name=&amp;quot;rel170&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/gluten/releases/tag/v1.7.0 |title=Release v1.7.0 |publisher=Apache Software Foundation (GitHub) |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; A release candidate for 1.8.0 (v1.8.0-rc0) was tagged on 2026-11-17 but is not a release.&amp;lt;ref name=&amp;quot;releases&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/gluten/releases |title=Releases: apache/gluten |publisher=Apache Software Foundation (GitHub) |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Which Spark versions does Gluten support? ==&lt;br /&gt;
Apache Gluten uses a shim layer to support several Spark versions at once, and its README says it supports the latest three to four Spark releases during a development cycle.&amp;lt;ref name=&amp;quot;readme&amp;quot; /&amp;gt; The Gluten 1.7.0 binary release is built for Spark 3.3, 3.4, 3.5, 4.0 and 4.1.&amp;lt;ref name=&amp;quot;downloads&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;readme170&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/gluten/blob/v1.7.0/README.md |title=Apache Gluten README (v1.7.0) |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; On the main branch the list is Spark 3.4, 3.5, 4.0 and 4.1.&amp;lt;ref name=&amp;quot;readme&amp;quot; /&amp;gt; No Gluten release lists Spark 4.2 or 4.3. The Spark 4.0 and 4.1 builds of the Velox backend need JDK 17 or later and Scala 2.13.&amp;lt;ref name=&amp;quot;velox&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/gluten/blob/main/docs/backends/velox/get-started/Velox.md |title=Gluten with Velox Backend |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How does Gluten work with Apache Spark? ==&lt;br /&gt;
Apache Gluten is enabled through Spark&amp;#039;s plugin interface. A basic configuration from the project README sets the plugin class, turns on Spark off-heap memory, puts the Gluten JAR on the driver and executor class paths, and switches to Gluten&amp;#039;s columnar shuffle manager:&amp;lt;ref name=&amp;quot;readme&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
spark-shell \&lt;br /&gt;
  --conf spark.plugins=org.apache.gluten.GlutenPlugin \&lt;br /&gt;
  --conf spark.memory.offHeap.enabled=true \&lt;br /&gt;
  --conf spark.memory.offHeap.size=20g \&lt;br /&gt;
  --conf spark.driver.extraClassPath=${GLUTEN_JAR} \&lt;br /&gt;
  --conf spark.executor.extraClassPath=${GLUTEN_JAR} \&lt;br /&gt;
  --conf spark.shuffle.manager=org.apache.spark.shuffle.sort.ColumnarShuffleManager&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache Gluten needs off-heap memory because native operators allocate memory outside the JVM heap. The configuration guide says Gluten uses &amp;lt;code&amp;gt;spark.memory.offHeap.size&amp;lt;/code&amp;gt; to size native memory even when off-heap is disabled, and recommends a larger value if the plugin runs out of memory.&amp;lt;ref name=&amp;quot;config&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/gluten/blob/main/docs/Configuration.md |title=Gluten Configuration |publisher=Apache Software Foundation |access-date=2026-11-23}}&amp;lt;/ref&amp;gt; Spark&amp;#039;s own default for &amp;lt;code&amp;gt;spark.memory.offHeap.enabled&amp;lt;/code&amp;gt; is false.&amp;lt;ref name=&amp;quot;sparkconf&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;
Apache Gluten&amp;#039;s columnar shuffle reuses the shuffle service of Spark core but adds a columnar exchange operator, so that data stays in columnar form between stages.&amp;lt;ref name=&amp;quot;readme&amp;quot; /&amp;gt; The Velox backend also works with the remote shuffle services Apache Celeborn and Apache Uniffle.&amp;lt;ref name=&amp;quot;velox&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache Gluten has a &amp;lt;code&amp;gt;spark.gluten.enabled&amp;lt;/code&amp;gt; setting (default true), but the configuration guide calls it experimental and recommends enabling or disabling Gluten through &amp;lt;code&amp;gt;spark.plugins&amp;lt;/code&amp;gt;. With &amp;lt;code&amp;gt;spark.gluten.ui.enabled&amp;lt;/code&amp;gt; (default true), Gluten adds its own page to the Spark web UI.&amp;lt;ref name=&amp;quot;config&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What runs natively and what falls back? ==&lt;br /&gt;
Apache Gluten offloads only the operators and expressions that the chosen backend supports. For anything else it falls back to vanilla Spark, and it inserts ColumnarToRow and RowToColumnar conversions where the plan moves between Gluten&amp;#039;s columnar data and Spark&amp;#039;s internal row format.&amp;lt;ref name=&amp;quot;readme&amp;quot; /&amp;gt; Because each conversion has a cost, Gluten has settings that send larger parts of a plan back to Spark, for example &amp;lt;code&amp;gt;spark.gluten.sql.columnar.wholeStage.fallback.threshold&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;spark.gluten.sql.columnar.query.fallback.threshold&amp;lt;/code&amp;gt;, which count ColumnarToRow transitions and vanilla leaf nodes (both default -1, off).&amp;lt;ref name=&amp;quot;config&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some fallbacks are on by default for correctness. &amp;lt;code&amp;gt;spark.gluten.sql.ansiFallback.enabled&amp;lt;/code&amp;gt; (default true) makes Gluten fall back to Spark when ANSI mode is on, and &amp;lt;code&amp;gt;spark.gluten.sql.fallbackRegexpExpressions&amp;lt;/code&amp;gt; can send all regular expressions to Spark because the native engine uses RE2, which differs from &amp;lt;code&amp;gt;java.util.regex&amp;lt;/code&amp;gt; in a few cases.&amp;lt;ref name=&amp;quot;config&amp;quot; /&amp;gt; In Spark 4.3.0, &amp;lt;code&amp;gt;spark.sql.ansi.enabled&amp;lt;/code&amp;gt; defaults to true, so this setting applies to queries that run with Spark&amp;#039;s default configuration.&amp;lt;ref name=&amp;quot;sparkconf&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Which table formats does the Velox backend read? ==&lt;br /&gt;
The Velox backend of Apache Gluten can scan [[Delta Lake]] tables (including column mapping), [[Apache Iceberg]] tables in both copy-on-write and merge-on-read form, [[Apache Hudi]] copy-on-write tables and Apache Paimon tables without a primary key. Each format needs a build profile (for example &amp;lt;code&amp;gt;-Pdelta&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-Piceberg&amp;lt;/code&amp;gt;) that adds it to the Velox bundle JAR.&amp;lt;ref name=&amp;quot;velox&amp;quot; /&amp;gt; The 1.7.0 release notes include a native statistics tracker for Delta writes.&amp;lt;ref name=&amp;quot;rel170&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Native execution engine (Spark)]]&lt;br /&gt;
* [[Velox]]&lt;br /&gt;
* [[Apache DataFusion Comet]]&lt;br /&gt;
* [[GPU acceleration in Spark]]&lt;br /&gt;
* [[Project Tungsten]]&lt;br /&gt;
* [[Shuffle]]&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:Query engines]]&lt;br /&gt;
[[Category:Apache Spark]]&lt;/div&gt;</summary>
		<author><name>Open Lakehouse Wiki sync</name></author>
	</entry>
</feed>