Weijun-H commented on code in PR #4117:
URL: https://github.com/apache/arrow-rs/pull/4117#discussion_r1175662093


##########
arrow-arith/src/arithmetic.rs:
##########
@@ -838,6 +838,13 @@ pub fn add_dyn(left: &dyn Array, right: &dyn Array) -> 
Result<ArrayRef, ArrowErr
                 ))),
             }
         }
+
+        DataType::Interval(_)
+            if right.data_type().is_temporal()
+                && left.data_type() != right.data_type() =>

Review Comment:
   I believe that the trait-based approach is a superior method for long-term 
maintenance. 👍 



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