Re: Compute Functions: Modulo

2021-07-28 Thread Ian Cook
Hi Rares, We have an open Jira issue for this at https://issues.apache.org/jira/browse/ARROW-12755, and some other related issues linked from it. Please comment there if you have suggestions for the implementation. Thank you, Ian On Wed, Jul 28, 2021 at 7:15 AM Antoine Pitrou wrote: > > > Hell

Re: Compute Functions: Modulo

2021-07-28 Thread Antoine Pitrou
Hello Rares, I agree with defining a new modulo compute function (or "remainder"?). However, there also needs to be a checked version that returns an error for invalid input (e.g. division by zero). Regards Antoine. Le 28/07/2021 à 13:04, Rares Vernica a écrit : Hello, I'm making use of

Re: Compute Functions: Modulo

2021-07-28 Thread Rares Vernica
PS a is an integer array and b is an integer scalar. On Wed, Jul 28, 2021 at 1:04 PM Rares Vernica wrote: > Hello, > > I'm making use of the Compute Functions to do some basic arithmetic. One > operation I need to perform is the modulo, i.e., a % b. I'm debating > between two options: > > 1. Com