You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2026/07/30 18:54:05 UTC
(datafusion-comet) branch asf-site updated: Publish built docs triggered by 4c3f04805acdbf87d4d6cecc62da29266ebfa83b
This is an automated email from the ASF dual-hosted git repository.
github-actions[bot] pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/datafusion-comet.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 29db6d5353 Publish built docs triggered by 4c3f04805acdbf87d4d6cecc62da29266ebfa83b
29db6d5353 is described below
commit 29db6d5353b585392c845e98b90ef38ebc1b2342
Author: github-actions[bot] <gi...@users.noreply.github.com>
AuthorDate: Thu Jul 30 18:53:51 2026 +0000
Publish built docs triggered by 4c3f04805acdbf87d4d6cecc62da29266ebfa83b
---
_sources/user-guide/latest/configs.md.txt | 2 +-
_sources/user-guide/latest/installation.md.txt | 2 +-
.../user-guide/latest/understanding-comet-plans.md.txt | 16 ++++++++--------
searchindex.js | 2 +-
user-guide/latest/configs.html | 4 ++--
user-guide/latest/installation.html | 2 +-
user-guide/latest/understanding-comet-plans.html | 8 ++++----
7 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/_sources/user-guide/latest/configs.md.txt b/_sources/user-guide/latest/configs.md.txt
index bb11c43321..3fbfa45beb 100644
--- a/_sources/user-guide/latest/configs.md.txt
+++ b/_sources/user-guide/latest/configs.md.txt
@@ -58,7 +58,7 @@ Comet provides the following configuration settings.
| `spark.comet.debug.enabled` | Whether to enable debug mode for Comet. When enabled, Comet will do additional checks for debugging purpose. For example, validating array when importing arrays from JVM at native side. Note that these checks may be expensive in performance and should only be enabled for debugging purpose. | false |
| `spark.comet.enabled` | Whether to enable Comet extension for Spark. When this is turned on, Spark will use Comet to read Parquet data source. Note that to enable native vectorized execution, both this config and `spark.comet.exec.enabled` need to be enabled. It can be overridden by the environment variable `ENABLE_COMET`. | true |
| `spark.comet.exceptionOnDatetimeRebase` | Whether to throw exception when seeing dates/timestamps from the legacy hybrid (Julian + Gregorian) calendar. Since Spark 3, dates/timestamps were written according to the Proleptic Gregorian calendar. When this is true, Comet will throw exceptions when seeing these dates/timestamps that were written by Spark version before 3.0. If this is false, these dates/timestamps will be read as if they were written to the Proleptic Gregorian calendar and [...]
-| `spark.comet.exec.columnarToRow.native.enabled` | Whether to enable native columnar to row conversion. When enabled, Comet will use native Rust code to convert Arrow columnar data to Spark UnsafeRow format instead of the JVM implementation. This can improve performance for queries that need to convert between columnar and row formats. | true |
+| `spark.comet.exec.columnarToRow.native.enabled` | Whether to enable native columnar to row conversion. When enabled, Comet will use native Rust code to convert Arrow columnar data to Spark UnsafeRow format instead of the JVM implementation. The native conversion carries a fixed JNI cost per batch and is slower than the JVM implementation for small batches. | false |
| `spark.comet.exec.enabled` | Whether to enable Comet native vectorized execution for Spark. This controls whether Spark should convert operators into their Comet counterparts and execute them in native space. Note: each operator is associated with a separate config in the format of `spark.comet.exec.<operator_name>.enabled` at the moment, and both the config and this need to be turned on, in order for the operator to be executed in native. | true |
| `spark.comet.exec.forceShuffledHashJoin` | Experimental feature to force Spark to replace SortMergeJoin with ShuffledHashJoin for improved performance. This feature is not stable yet. For more information, refer to the [Comet Tuning Guide](https://datafusion.apache.org/comet/user-guide/latest/tuning.html). | false |
| `spark.comet.exec.pyarrowUdf.enabled` | Experimental: whether to enable optimized execution of PyArrow UDFs (mapInArrow/mapInPandas). When enabled, Comet passes Arrow columnar data directly to Python UDFs without the intermediate Arrow-to-Row-to-Arrow conversion that Spark normally performs. Disabled by default while the feature stabilizes. | false |
diff --git a/_sources/user-guide/latest/installation.md.txt b/_sources/user-guide/latest/installation.md.txt
index a9aa980d60..fd302539b0 100644
--- a/_sources/user-guide/latest/installation.md.txt
+++ b/_sources/user-guide/latest/installation.md.txt
@@ -138,7 +138,7 @@ Comet will log output similar to:
```shell
== Physical Plan ==
-CometNativeColumnarToRow
+CometColumnarToRow
+- CometFilter [a#6], (isnotnull(a#6) AND (a#6 > 5))
+- CometNativeScan parquet [a#6] Batched: true, DataFilters: [isnotnull(a#6), (a#6 > 5)], Format: CometParquet, Location: InMemoryFileIndex(1 paths)[file:/tmp/test], PartitionFilters: [], PushedFilters: [IsNotNull(a), GreaterThan(a,5)], ReadSchema: struct<a:int>
```
diff --git a/_sources/user-guide/latest/understanding-comet-plans.md.txt b/_sources/user-guide/latest/understanding-comet-plans.md.txt
index af603569a0..130762d560 100644
--- a/_sources/user-guide/latest/understanding-comet-plans.md.txt
+++ b/_sources/user-guide/latest/understanding-comet-plans.md.txt
@@ -140,7 +140,7 @@ println(new org.apache.comet.ExtendedExplainInfo()
Output:
```
-CometNativeColumnarToRow
+CometColumnarToRow
+- CometProject [COMET-INFO: JVM codegen dispatcher: hypot, levenshtein]
+- CometNativeScan parquet spark_catalog.default.t
@@ -221,7 +221,7 @@ Output
```
Project [COMET: from_unixtime(eventTime#5L, yyyy-MM-dd HH:mm:ss, Some(GMT)) is not fully compatible with Spark. To enable it anyway, set spark.comet.expression.FromUnixTime.allowIncompatible=true. For more information, refer to the Comet Compatibility Guide (https://datafusion.apache.org/comet/user-guide/compatibility.html).]
-+- CometNativeColumnarToRow
++- CometColumnarToRow
+- CometNativeScan parquet
Comet accelerated 1 out of 2 eligible operators (50%). Final plan contains 1 transitions between Spark and Comet.
@@ -309,12 +309,12 @@ Comet inserts these nodes wherever data has to cross the columnar/row boundary.
Multiple implementations exist because the optimal strategy depends on what
produced the columnar data.
-| Node | Direction | Notes |
-| ------------------------------ | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `CometColumnarToRow` | columnar → row | JVM-based row conversion. A fork of Spark's `ColumnarToRowExec` that includes the SPARK-50235 fix. |
-| `CometNativeColumnarToRow` | columnar → row | Rust-based row conversion that decodes broadcast Arrow batches via `NativeColumnarToRowConverter`. Used downstream of `CometBroadcastExchange`. Zero-copy for variable-length types and avoids an extra JVM materialization step. |
-| `CometSparkColumnarToColumnar` | columnar → columnar | Converts a Spark columnar input (a non-Comet `ColumnarBatch`) into Comet's Arrow batches. |
-| `CometSparkRowToColumnar` | row → columnar | Converts a Spark row input into Comet's Arrow batches. |
+| Node | Direction | Notes |
+| ------------------------------ | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `CometColumnarToRow` | columnar → row | JVM-based row conversion. A fork of Spark's `ColumnarToRowExec` that includes the SPARK-50235 fix. This is the default. |
+| `CometNativeColumnarToRow` | columnar → row | Rust-based row conversion via `NativeColumnarToRowConverter`. Disabled by default; enable with `spark.comet.exec.columnarToRow.native.enabled=true`. It carries a fixed JNI cost per batch and is slower than the JVM conversion for small batches. |
+| `CometSparkColumnarToColumnar` | columnar → columnar | Converts a Spark columnar input (a non-Comet `ColumnarBatch`) into Comet's Arrow batches. |
+| `CometSparkRowToColumnar` | row → columnar | Converts a Spark row input into Comet's Arrow batches. |
The two `CometSpark*` names come from a single `CometSparkToColumnarExec`
operator that picks the node name based on whether its child supports
diff --git a/searchindex.js b/searchindex.js
index 3980ebb6bd..52f70fa031 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles": {"!": [[54, "id1"]], "%": [[52, "id1"]], "&": [[42, "id1"]], "*": [[52, "id2"]], "+": [[52, "id3"]], "-": [[52, "id4"]], "/": [[52, "id5"]], "1. Format Your Code": [[39, "format-your-code"]], "1. Install Comet": [[60, "install-comet"], [70, "install-comet"]], "1. Native Operators (nativeExecs map)": [[27, "native-operators-nativeexecs-map"]], "2. Build and Verify": [[39, "build-and-verify"]], "2. Clone Iceberg and Apply Diff": [[60, "clone-iceberg-and-apply- [...]
\ No newline at end of file
+Search.setIndex({"alltitles": {"!": [[54, "id1"]], "%": [[52, "id1"]], "&": [[42, "id1"]], "*": [[52, "id2"]], "+": [[52, "id3"]], "-": [[52, "id4"]], "/": [[52, "id5"]], "1. Format Your Code": [[39, "format-your-code"]], "1. Install Comet": [[60, "install-comet"], [70, "install-comet"]], "1. Native Operators (nativeExecs map)": [[27, "native-operators-nativeexecs-map"]], "2. Build and Verify": [[39, "build-and-verify"]], "2. Clone Iceberg and Apply Diff": [[60, "clone-iceberg-and-apply- [...]
\ No newline at end of file
diff --git a/user-guide/latest/configs.html b/user-guide/latest/configs.html
index 00bbc9b664..14f1c76cb4 100644
--- a/user-guide/latest/configs.html
+++ b/user-guide/latest/configs.html
@@ -844,8 +844,8 @@ under the License.
<td><p>false</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">spark.comet.exec.columnarToRow.native.enabled</span></code></p></td>
-<td><p>Whether to enable native columnar to row conversion. When enabled, Comet will use native Rust code to convert Arrow columnar data to Spark UnsafeRow format instead of the JVM implementation. This can improve performance for queries that need to convert between columnar and row formats.</p></td>
-<td><p>true</p></td>
+<td><p>Whether to enable native columnar to row conversion. When enabled, Comet will use native Rust code to convert Arrow columnar data to Spark UnsafeRow format instead of the JVM implementation. The native conversion carries a fixed JNI cost per batch and is slower than the JVM implementation for small batches.</p></td>
+<td><p>false</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">spark.comet.exec.enabled</span></code></p></td>
<td><p>Whether to enable Comet native vectorized execution for Spark. This controls whether Spark should convert operators into their Comet counterparts and execute them in native space. Note: each operator is associated with a separate config in the format of <code class="docutils literal notranslate"><span class="pre">spark.comet.exec.<operator_name>.enabled</span></code> at the moment, and both the config and this need to be turned on, in order for the operator to be executed in [...]
diff --git a/user-guide/latest/installation.html b/user-guide/latest/installation.html
index ff2afa4a74..52308f3e2e 100644
--- a/user-guide/latest/installation.html
+++ b/user-guide/latest/installation.html
@@ -902,7 +902,7 @@ WARN<span class="w"> </span>CometExecRule:<span class="w"> </span>Comet<span cla
</div>
<p>Comet will log output similar to:</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span><span class="o">==</span><span class="w"> </span>Physical<span class="w"> </span><span class="nv">Plan</span><span class="w"> </span><span class="o">==</span>
-CometNativeColumnarToRow
+CometColumnarToRow
+-<span class="w"> </span>CometFilter<span class="w"> </span><span class="o">[</span>a#6<span class="o">]</span>,<span class="w"> </span><span class="o">(</span>isnotnull<span class="o">(</span>a#6<span class="o">)</span><span class="w"> </span>AND<span class="w"> </span><span class="o">(</span>a#6<span class="w"> </span>><span class="w"> </span><span class="m">5</span><span class="o">))</span>
<span class="w"> </span>+-<span class="w"> </span>CometNativeScan<span class="w"> </span>parquet<span class="w"> </span><span class="o">[</span>a#6<span class="o">]</span><span class="w"> </span>Batched:<span class="w"> </span>true,<span class="w"> </span>DataFilters:<span class="w"> </span><span class="o">[</span>isnotnull<span class="o">(</span>a#6<span class="o">)</span>,<span class="w"> </span><span class="o">(</span>a#6<span class="w"> </span>><span class="w"> </span><span clas [...]
</pre></div>
diff --git a/user-guide/latest/understanding-comet-plans.html b/user-guide/latest/understanding-comet-plans.html
index 82b4d1fa3c..5698e68a44 100644
--- a/user-guide/latest/understanding-comet-plans.html
+++ b/user-guide/latest/understanding-comet-plans.html
@@ -878,7 +878,7 @@ expression ran here” marker.</p>
</pre></div>
</div>
<p>Output:</p>
-<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">CometNativeColumnarToRow</span>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">CometColumnarToRow</span>
<span class="o">+-</span> <span class="n">CometProject</span> <span class="p">[</span><span class="n">COMET</span><span class="o">-</span><span class="n">INFO</span><span class="p">:</span> <span class="n">JVM</span> <span class="n">codegen</span> <span class="n">dispatcher</span><span class="p">:</span> <span class="n">hypot</span><span class="p">,</span> <span class="n">levenshtein</span><span class="p">]</span>
<span class="o">+-</span> <span class="n">CometNativeScan</span> <span class="n">parquet</span> <span class="n">spark_catalog</span><span class="o">.</span><span class="n">default</span><span class="o">.</span><span class="n">t</span>
@@ -952,7 +952,7 @@ it works on any Spark version because it does not rely on the Spark 4.0
</div>
<p>Output</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Project</span> <span class="p">[</span><span class="n">COMET</span><span class="p">:</span> <span class="n">from_unixtime</span><span class="p">(</span><span class="n">eventTime</span><span class="c1">#5L, yyyy-MM-dd HH:mm:ss, Some(GMT)) is not fully compatible with Spark. To enable it anyway, set spark.comet.expression.FromUnixTime.allowIncompatible=true. For more information, refer to th [...]
-<span class="o">+-</span> <span class="n">CometNativeColumnarToRow</span>
+<span class="o">+-</span> <span class="n">CometColumnarToRow</span>
<span class="o">+-</span> <span class="n">CometNativeScan</span> <span class="n">parquet</span>
<span class="n">Comet</span> <span class="n">accelerated</span> <span class="mi">1</span> <span class="n">out</span> <span class="n">of</span> <span class="mi">2</span> <span class="n">eligible</span> <span class="n">operators</span> <span class="p">(</span><span class="mi">50</span><span class="o">%</span><span class="p">)</span><span class="o">.</span> <span class="n">Final</span> <span class="n">plan</span> <span class="n">contains</span> <span class="mi">1</span> <span class="n">tran [...]
@@ -1116,11 +1116,11 @@ produced the columnar data.</p>
<tbody>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">CometColumnarToRow</span></code></p></td>
<td><p>columnar → row</p></td>
-<td><p>JVM-based row conversion. A fork of Spark’s <code class="docutils literal notranslate"><span class="pre">ColumnarToRowExec</span></code> that includes the SPARK-50235 fix.</p></td>
+<td><p>JVM-based row conversion. A fork of Spark’s <code class="docutils literal notranslate"><span class="pre">ColumnarToRowExec</span></code> that includes the SPARK-50235 fix. This is the default.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">CometNativeColumnarToRow</span></code></p></td>
<td><p>columnar → row</p></td>
-<td><p>Rust-based row conversion that decodes broadcast Arrow batches via <code class="docutils literal notranslate"><span class="pre">NativeColumnarToRowConverter</span></code>. Used downstream of <code class="docutils literal notranslate"><span class="pre">CometBroadcastExchange</span></code>. Zero-copy for variable-length types and avoids an extra JVM materialization step.</p></td>
+<td><p>Rust-based row conversion via <code class="docutils literal notranslate"><span class="pre">NativeColumnarToRowConverter</span></code>. Disabled by default; enable with <code class="docutils literal notranslate"><span class="pre">spark.comet.exec.columnarToRow.native.enabled=true</span></code>. It carries a fixed JNI cost per batch and is slower than the JVM conversion for small batches.</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">CometSparkColumnarToColumnar</span></code></p></td>
<td><p>columnar → columnar</p></td>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org