ektravel commented on code in PR #16900:
URL: https://github.com/apache/druid/pull/16900#discussion_r1725526654


##########
docs/querying/sql-functions.md:
##########
@@ -2239,35 +2296,121 @@ Returns a union of Theta sketches.
 
 ## TIME_CEIL
 
-`TIME_CEIL(<TIMESTAMP>, <period>, [<origin>, [<timezone>]])`
+Rounds up a timestamp to a given ISO 8601 time period. You can specify 
`origin` to provide a reference timestamp from which to start rounding. If 
provided, `timezone` should be a time zone name like `America/Los_Angeles` or 
an offset like `-08:00`.
 
-**Function type:** [Scalar, date and 
time](sql-scalar.md#date-and-time-functions)
+* **Syntax:** `TIME_CEIL(timestamp_expr, period[, origin[, timezone]])`
+* **Function type:** Scalar, date and time
+
+<details><summary>Example</summary>
+
+The following example rounds up the `__time` column from the `taxi-trips` 
datasource to nearest 45th minute in reference to the timestamp `2013-08-01 
08:0:00`.

Review Comment:
   ```suggestion
   The following example rounds up the `__time` column from the `taxi-trips` 
datasource to the nearest 45th minute in reference to the timestamp `2013-08-01 
08:0:00`.
   ```



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