This is an automated email from the ASF dual-hosted git repository. github-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 1350ea5cf Publish built docs triggered by f69739b85c15a02b1557bd4fe2fe56fc9e1f82f0 1350ea5cf is described below commit 1350ea5cf1ed6c4b2dd14f639a5af1d6f7822727 Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Aug 27 18:55:03 2025 +0000 Publish built docs triggered by f69739b85c15a02b1557bd4fe2fe56fc9e1f82f0 --- _sources/user-guide/compatibility.md.txt | 17 +++++++++++++---- searchindex.js | 2 +- user-guide/compatibility.html | 18 ++++++++++++++---- 3 files changed, 28 insertions(+), 9 deletions(-) diff --git a/_sources/user-guide/compatibility.md.txt b/_sources/user-guide/compatibility.md.txt index 23e31d0bc..969b3961c 100644 --- a/_sources/user-guide/compatibility.md.txt +++ b/_sources/user-guide/compatibility.md.txt @@ -75,10 +75,19 @@ The `native_datafusion` scan has some additional limitations: ## ANSI Mode -Comet currently ignores ANSI mode in most cases, and therefore can produce different results than Spark. By default, -Comet will fall back to Spark if ANSI mode is enabled. To enable Comet to accelerate queries when ANSI mode is enabled, -specify `spark.comet.ansi.enabled=true` in the Spark configuration. Comet's ANSI support is experimental and should not -be used in production. +Comet will fall back to Spark for the following expressions when ANSI mode is enabled, unless +`spark.comet.expression.allowIncompatible=true`. + +- Add +- Subtract +- Multiply +- Divide +- IntegralDivide +- Remainder +- Round +- Average +- Sum +- Cast (in some cases) There is an [epic](https://github.com/apache/datafusion-comet/issues/313) where we are tracking the work to fully implement ANSI support. diff --git a/searchindex.js b/searchindex.js index 6675c8904..d40efb3dc 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"1. Install Comet": [[12, "install-comet"]], "2. Clone Spark and Apply Diff": [[12, "clone-spark-and-apply-diff"]], "3. Run Spark SQL Tests": [[12, "run-spark-sql-tests"]], "ANSI Mode": [[15, "ansi-mode"]], "API Differences Between Spark Versions": [[0, "api-differences-between-spark-versions"]], "ASF Links": [[14, null]], "Accelerating Apache Iceberg Parquet Scans using Comet (Experimental)": [[21, null]], "Adding Spark-side Tests for the New Expression": [...] \ No newline at end of file +Search.setIndex({"alltitles": {"1. Install Comet": [[12, "install-comet"]], "2. Clone Spark and Apply Diff": [[12, "clone-spark-and-apply-diff"]], "3. Run Spark SQL Tests": [[12, "run-spark-sql-tests"]], "ANSI Mode": [[15, "ansi-mode"]], "API Differences Between Spark Versions": [[0, "api-differences-between-spark-versions"]], "ASF Links": [[14, null]], "Accelerating Apache Iceberg Parquet Scans using Comet (Experimental)": [[21, null]], "Adding Spark-side Tests for the New Expression": [...] \ No newline at end of file diff --git a/user-guide/compatibility.html b/user-guide/compatibility.html index e67eab15e..b0be45db7 100644 --- a/user-guide/compatibility.html +++ b/user-guide/compatibility.html @@ -477,10 +477,20 @@ types (regardless of the logical type). This behavior can be disabled by setting </section> <section id="ansi-mode"> <h2>ANSI Mode<a class="headerlink" href="#ansi-mode" title="Link to this heading">¶</a></h2> -<p>Comet currently ignores ANSI mode in most cases, and therefore can produce different results than Spark. By default, -Comet will fall back to Spark if ANSI mode is enabled. To enable Comet to accelerate queries when ANSI mode is enabled, -specify <code class="docutils literal notranslate"><span class="pre">spark.comet.ansi.enabled=true</span></code> in the Spark configuration. Comet’s ANSI support is experimental and should not -be used in production.</p> +<p>Comet will fall back to Spark for the following expressions when ANSI mode is enabled, unless +<code class="docutils literal notranslate"><span class="pre">spark.comet.expression.allowIncompatible=true</span></code>.</p> +<ul class="simple"> +<li><p>Add</p></li> +<li><p>Subtract</p></li> +<li><p>Multiply</p></li> +<li><p>Divide</p></li> +<li><p>IntegralDivide</p></li> +<li><p>Remainder</p></li> +<li><p>Round</p></li> +<li><p>Average</p></li> +<li><p>Sum</p></li> +<li><p>Cast (in some cases)</p></li> +</ul> <p>There is an <a class="reference external" href="https://github.com/apache/datafusion-comet/issues/313">epic</a> where we are tracking the work to fully implement ANSI support.</p> </section> <section id="floating-point-number-comparison"> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@datafusion.apache.org For additional commands, e-mail: commits-h...@datafusion.apache.org