gruuya commented on PR #9245: URL: https://github.com/apache/arrow-datafusion/pull/9245#issuecomment-1949333020
> In arrow-datafusion, logX(0) returns -Infinity. > consider modifying the arrow-datafusion part. On a similar note the log with base zero returns zero ```sql ❯ select log(0, 3); +------------------------+ | log(Int64(0),Int64(3)) | +------------------------+ | 0.0 | +------------------------+ ``` Mathematically that's undefined, while in Postgres/DuckDB it leads to an error (`cannot take logarithm of 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]
