coderfender commented on code in PR #2143:
URL: https://github.com/apache/datafusion-comet/pull/2143#discussion_r2277997609
##########
docs/source/user-guide/expressions.md:
##########
@@ -44,6 +44,15 @@ The following Spark expressions are currently available. Any
known compatibility
| IntegralDivide (`div`) | All operands are cast to DecimalType (in case the
input type is not already decima type) with precision 19 and scale 0. Please
set `spark.comet.cast.allowIncompatible` to `true` to enable DataFusion’s cast
operation for LongType inputs. |
| Remainder (`%`) |
|
+## Binary Try Arithmetic
+
+| Expression | Notes
|
+|------------|----------------------------------------------------------------------------|
+| `try_add` | Adds operands (IntegerTypes only) or results NULL incase of
overflow |
+| `try_sub` | Subtracts operands (IntegerTypes only) or results NULL incase
of overflow |
+| `try_mul` | Multiplies operands (IntegerTypes only) or results NULL incase
of overflow |
+| `try_div` | Subtracts operands (IntegerTypes only) or results NULL incase
of overflow |
Review Comment:
Thank you for the approval
--
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]