vtlim commented on code in PR #15902: URL: https://github.com/apache/druid/pull/15902#discussion_r1501205497
########## docs/querying/sql-window-functions.md: ########## @@ -88,40 +88,135 @@ You can use the OVER clause to treat other Druid aggregation functions as window Window functions support aliasing. -## Define a window with the OVER clause +## Window function syntax + +In general, Druid Window functions use the following syntax: + + +```sql +window_function() OVER ( + [PARTITION BY partitioning expression] Review Comment: Is this specifically `PARTITION` and not `PARTITIONED` like in https://druid.apache.org/docs/latest/multi-stage-query/reference#partitioned-by? Maybe we should note that it's different and shouldn't be confused -- 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]
