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