pedrumj2 commented on code in PR #13604:
URL: https://github.com/apache/gluten/pull/13604#discussion_r4542230269
##########
backends-velox/src/main/scala/org/apache/gluten/backendsapi/velox/VeloxSparkPlanExecApi.scala:
##########
@@ -141,8 +141,8 @@ class VeloxSparkPlanExecApi extends SparkPlanExecApi with
Logging {
}
/**
- * Map arithmetic expr to different functions: substraitExprName or
try(checkArithmeticExprName)
- * based on EvalMode.
+ * Map arithmetic expr to different functions based on EvalMode:
substraitExprName by default,
+ * checkArithmeticExprName in ANSI mode, and Velox's try_ function in TRY
mode.
Review Comment:
> Could we add a TODO in `genArithmeticTransformer` noting that
`try(checkArithmeticExprName)` and the special arithmetic transformer handling
can be removed once Velox supports all relevant `try_*` functions?
@rui-mo added the following comment to the general case fallback:
```
case _ =>
// TODO: Remove try(checkArithmeticExprName) and
genTryArithmeticTransformer once Velox
// supports all relevant try_* functions.
```
--
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]