pitrou commented on code in PR #47445:
URL: https://github.com/apache/arrow/pull/47445#discussion_r2307161122


##########
cpp/src/arrow/compute/kernels/scalar_arithmetic.cc:
##########
@@ -670,7 +670,6 @@ void AddDecimalBinaryKernels(const std::string& name, 
ScalarFunction* func) {
     out_type = OutputType(ResolveDecimalMultiplicationOutput);
   } else if (op == "divide") {
     out_type = OutputType(ResolveDecimalDivisionOutput);
-    constraint = BinaryDecimalScale1GeScale2();

Review Comment:
   Or you mean the dividend gets promoted to `decimal(11, 6)`?



-- 
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]

Reply via email to