You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "comphead (via GitHub)" <gi...@apache.org> on 2023/02/13 00:25:28 UTC

[GitHub] [arrow-datafusion] comphead commented on issue #5259: Make `log` function to be in sync with PostgresSql

comphead commented on issue #5259:
URL: https://github.com/apache/arrow-datafusion/issues/5259#issuecomment-1427178897

   Other edgecases
   ```
   PG log(-1), log(-10, 1), log(10, -1)
   cannot take logarithm of a negative number
   
   DF
   +----------------+--------------------------+--------------------------+
   | log(Int64(-1)) | log(Int64(-1),Int64(10)) | log(Int64(1),Int64(-10)) |
   +----------------+--------------------------+--------------------------+
   | NaN            | NaN                      | NaN                      |
   +----------------+--------------------------+--------------------------+
   ```


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org