alamb commented on issue #2647:
URL: https://github.com/apache/arrow-rs/issues/2647#issuecomment-1236844465

   > As such I would like to propose we only provide a single division and 
modulus kernels, which will return an error on division by zero.
   
   This makes sense to me (and is consistent with what postgres division does):
   
   ```
   alamb=# select * from foo;
    i |  c  
   ---+-----
    1 | foo
    2 | bar
    0 | baz
   (3 rows)
   
   alamb=# select i / 0 from foo;
   ERROR:  division by zero
   ```


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