edgar2020 commented on code in PR #16795: URL: https://github.com/apache/druid/pull/16795#discussion_r1691813357
########## docs/querying/sql-functions.md: ########## @@ -280,27 +295,72 @@ Joins all elements of `arr` by the delimiter specified by `str`. ## ASIN -`ASIN(<NUMERIC>)` +Calculates the arc sine of a numeric expression. -**Function type:** [Scalar, numeric](sql-scalar.md#numeric-functions) +* **Syntax:** `ASIN(expr)` +* **Function type:** Scalar, numeric -Calculates the arc sine of a numeric expression. +<details><summary>Example</summary> -## ATAN +The following example calculates the arc sine of one. -`ATAN(<NUMERIC>)` +```sql +SELECT ASIN(1) AS "arc_sine" +``` +Returns the following: -**Function type:** [Scalar, numeric](sql-scalar.md#numeric-functions) +| `arc_sine` | +| -- | +| `1.5707963267948966` | +</details> + +[Learn more](sql-scalar.md#numeric-functions) + +## ATAN Calculates the arc tangent of a numeric expression. Review Comment: Agreed to keep as is to match definitions on [scalar functions page](https://druid.apache.org/docs/latest/querying/sql-scalar/#numeric-functions) -- 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]
