rok commented on code in PR #14434:
URL: https://github.com/apache/arrow/pull/14434#discussion_r1023888727
##########
cpp/src/arrow/compute/kernels/scalar_arithmetic.cc:
##########
@@ -2224,6 +2229,10 @@ void RegisterScalarArithmetic(FunctionRegistry*
registry) {
"power_checked", pow_checked_doc);
DCHECK_OK(registry->AddFunction(std::move(power_checked)));
+ // ----------------------------------------------------------------------
+ auto exp = MakeUnaryArithmeticFunctionFloatingPoint<Exp>("exp", exp_doc);
Review Comment:
Perhaps `AddDecimalUnaryKernels<Exp>(exp.get());` could be added here? But
since `Decimal128::Exp` doesn't exist we want implicit cast and keep
`MakeUnaryArithmeticFunctionFloatingPoint`?
--
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]