rok commented on a change in pull request #12105:
URL: https://github.com/apache/arrow/pull/12105#discussion_r796652908



##########
File path: cpp/src/arrow/compute/kernels/scalar_arithmetic.cc
##########
@@ -2429,6 +2430,13 @@ void RegisterScalarArithmetic(FunctionRegistry* 
registry) {
     DCHECK_OK(subtract->AddKernel({in_type, in_type}, duration(unit), 
std::move(exec)));
   }
 
+  // Add subtract(duration, duration) -> duration

Review comment:
       Because subtraction can be done directly on times I removed this.




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