ektravel commented on code in PR #16745: URL: https://github.com/apache/druid/pull/16745#discussion_r1681676674
########## docs/querying/sql-functions.md: ########## @@ -729,11 +790,30 @@ Rounds down a timestamp by a given time unit. ## FLOOR (numeric) -`FLOOR(<NUMERIC>)` +Rounds down to the largest integer value less than or equal to the numeric expression. -**Function type:** [Scalar, numeric](sql-scalar.md#numeric-functions) +* **Syntax:** `Floor(<NUMERIC>)` +* **Function type:** Scalar, numeric + +<details><summary>Example</summary> + +The following example applies the FLOOR function to the `fare_amount` column, from the `trips_xaa` datasource. Review Comment: ```suggestion The following example applies the FLOOR function to the `fare_amount` 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]
