avantgardnerio commented on PR #2797: URL: https://github.com/apache/arrow-datafusion/pull/2797#issuecomment-1178259954
> or perhaps https://docs.rs/arrow/16.0.0/arrow/compute/kernels/arithmetic/fn.add.html Okay, I think I understand this. Ideally `math_op` would look something like this: ``` pub fn math_op<LT, RT, F>( left: &PrimitiveArray<LT>, right: &PrimitiveArray<RT>, op: F, ) -> Result<PrimitiveArray<LT>> where LT: ArrowNumericType, RT: ArrowNumericType, F: Fn(LT::Native, RT::Native) -> LT::Native, { ``` So that we could add an array of `IntervalXXX` to and array of `DateXXX` -- 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]
