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


##########
docs/querying/sql-functions.md:
##########
@@ -605,11 +605,34 @@ Returns the rank for a row within a window without gaps. 
For example, if two row
 
 ## DIV
 
-`DIV(x, y)`
+Returns the result of integer division of `x` by `y`.
 
-**Function type:** [Scalar, numeric](sql-scalar.md#numeric-functions)
+* **Syntax:** `DIV(x, y)`
+* **Function type:** Scalar, numeric
 
-Returns the result of integer division of `x` by `y`.
+<details><summary>Example</summary>
+
+  The following calculates integer divisions of `78` by `10`.
+
+  ```sql
+  SELECT DIV(78, 10) as "division"
+  ``` 
+
+  Returns the following:
+
+  | `division` |
+  | -- |
+  | `7` |
+
+</details>

Review Comment:
   commented out the `<Details>` box and all its content



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