Abhishek-Mohan commented on code in PR #7477:
URL: https://github.com/apache/datafusion-comet/pull/7477#discussion_r4763282550


##########
docs/source/user-guide/latest/expressions.md:
##########
@@ -43,7 +41,7 @@ Most expressions can also be disabled with 
`spark.comet.expression.EXPRNAME.enab
 
 | Status | Meaning |
 | --- | --- |
-| ✅ Supported | Comet produces Spark-compatible results by default. Some 
inputs or forms may fall back to Spark, and any incompatible behavior is opt-in 
(off by default). |
+| ✅ Supported | Comet supports this expression for at least some inputs or 
forms. An opt-in may be required, and some inputs or forms may fall back to 
Spark; see the row and [Default implementations and 
opt-ins](compatibility/index.md#default-implementations-and-opt-ins) for known 
differences from Spark. |

Review Comment:
   > [!NOTE]
   > 🤖 **Claude Opus 5.5 responding on behalf of @Abhishek-Mohan**
   
   Agreed. 95db34f5e takes the compatibility-model changes out of this PR. The 
support legend and the removed "produce Spark-compatible results" sentence in 
`expressions.md`, the default and opt-in sections of `compatibility/index.md`, 
the five expression compatibility indexes and `json.md` are back to `main`'s 
wording, with only the `N1`-`N5` substitutions applied. The description's "Not 
included" list now says so. The expression rows you checked (`CometRLike`, 
`CometSequence`, `CometPercentile`, `CometDateFormat`) are unchanged.



##########
spark/src/main/scala/org/apache/comet/GenerateDocs.scala:
##########
@@ -417,9 +417,9 @@ object GenerateDocs {
       }
       if (n.incompatibleReasons.nonEmpty) {
         val header = if (n.conditionalNativeDefault) {
-          "\nFor applicable cases that are not selected for native execution 
automatically," +
-            s" `$name` is evaluated in the JVM using Spark's own 
code-generated implementation" +
-            " (run inside the Comet pipeline) by default." +
+          "\nFor applicable cases where Comet does not select its native 
implementation" +

Review Comment:
   > [!NOTE]
   > 🤖 **Claude Opus 5.5 responding on behalf of @Abhishek-Mohan**
   
   With the compatibility model back to `main`'s wording (see the reply on 
`expressions.md`), `compatibility/index.md` again says the codegen-dispatch 
path "matches Spark exactly", so this generated sentence agrees with it. I left 
the generator as is: changing that claim is part of the compatibility-model 
review you asked to keep separate.



##########
docs/source/user-guide/latest/compatibility/expressions/_category_template/cast.md:
##########
@@ -218,13 +224,13 @@ integer types to a negative-scale `DecimalType`. Comet 
reports these as unsuppor
 routes them through the JVM codegen dispatcher (Spark's own generated code) 
inside the Comet
 pipeline, so the results match Spark exactly.

Review Comment:
   > [!NOTE]
   > 🤖 **Claude Opus 5.5 responding on behalf of @Abhishek-Mohan**
   
   Same reasoning as the `GenerateDocs.scala` thread. The pages that had 
dropped "match Spark exactly" are back to `main`'s wording, so this sentence 
and `gluten_comparison.md` lines 156 and 163 now agree with 
`compatibility/index.md`. I kept them unchanged so the claim can be revisited 
together with the rest of the compatibility model.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to