a-rafay commented on a change in pull request #2444:
URL: https://github.com/apache/calcite/pull/2444#discussion_r658095876



##########
File path: site/_docs/reference.md
##########
@@ -1861,6 +1861,28 @@ Not implemented:
 * REGR_SLOPE(numeric1, numeric2)
 * REGR_SXY(numeric1, numeric2)
 
+#### Ordered-Set Aggregate Functions
+
+Syntax:
+
+{% highlight sql %}
+aggregateCall:
+      agg '(' value ')'
+      [ WITHIN GROUP '(' ORDER BY orderItem ')' ]

Review comment:
       I think i have to remove the square brackets since the WITHIN GROUP 
clause is mandatory.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to