asdf2014 commented on code in PR #16761: URL: https://github.com/apache/druid/pull/16761#discussion_r1686033565
########## docs/querying/sql-functions.md: ########## @@ -1317,11 +1351,25 @@ Returns the one-based index position of a substring within an expression, option ## POWER -`POWER(expr, power)` +Calculates a numerical expression raised to the specified power. -**Function type:** [Scalar, numeric](sql-scalar.md#numeric-functions) +* **Syntax:** `POWER(base, exponent)` +* **Function type:** Scalar, numeric -Calculates a numerical expression raised to the specified power. +<details><summary>Example</summary> + +The following example raise 5 to the power of 2. Review Comment: ```suggestion The following example raise 5 to the power of 2. ``` -- 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]
