ektravel commented on code in PR #16745: URL: https://github.com/apache/druid/pull/16745#discussion_r1681683214
########## docs/querying/sql-functions.md: ########## @@ -961,11 +1041,30 @@ Returns the length of the expression in UTF-16 encoding. ## LN -`LN(expr)` +Calculates the natural logarithm of the numeric expression. -**Function type:** [Scalar, numeric](sql-scalar.md#numeric-functions) +* **Syntax:** `LN(<NUMERIC>)` +* **Function type:** Scalar, numeric -Calculates the natural logarithm of the numeric expression. +<details><summary>Example</summary> + +The following example applies the LN function to the `max_temperature` column, from the `trips_xaa` datasource. Review Comment: ```suggestion The following example applies the LN function to the `max_temperature` column from the `trips_xaa` datasource. ``` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
