stuartcarnie opened a new issue, #5206:
URL: https://github.com/apache/arrow-datafusion/issues/5206

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   As a user, I would like to determine the logarithm of a value, $x$ to base 
$b$.
   
   **Describe the solution you'd like**
   
   Add an overload to the `log` function, which takes two arguments. Using 
PostgreSQL for inspiration per [the 
documentation](https://www.postgresql.org/docs/current/functions-math.html):
   
   > `log ( b numeric, x numeric ) → numeric`
   > Logarithm of $x$ to base $b$
   > log(2.0, 64.0) → 6.0000000000000000  
   
   **Describe alternatives you've considered**
   
   DataFusion strives for PostgreSQL compatibility, so it makes sense to use 
the PostgreSQL solution.
   
   **Additional context**
   


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