edgar2020 commented on code in PR #16795:
URL: https://github.com/apache/druid/pull/16795#discussion_r1692059623


##########
docs/querying/sql-functions.md:
##########
@@ -514,20 +574,50 @@ Finds whether a string is in a given expression, 
case-sensitive.
 
 ## COS
 
-`COS(<NUMERIC>)`
+Calculates the trigonometric cosine of an angle expressed in radians.
 
-**Function type:** [Scalar, numeric](sql-scalar.md#numeric-functions)
+* **Syntax:** `COS(expr)`
+* **Function type:** Scalar, numeric
 
-Calculates the trigonometric cosine of an angle expressed in radians.
+<details><summary>Example</summary>
 
-## COT
+The following example calculates the cosine of `PI` over three radians.

Review Comment:
   Added "the angle" or equivalent to the functions SIN, COS, TAN, COT, 
DEGREES, and RADIANS. 
   
   Also applied numeric notation to all functions. Made all values in code 
notation such as "The following example calculates the arc sine of `1`."



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

Reply via email to