tanclary commented on code in PR #3554:
URL: https://github.com/apache/calcite/pull/3554#discussion_r1408241142


##########
testkit/src/main/java/org/apache/calcite/sql/parser/SqlParserTest.java:
##########
@@ -784,6 +784,13 @@ protected static SortedSet<String> keywords(@Nullable 
String dialect) {
         .fails("(?s)Encountered \"\\*\" at .*");
   }
 
+
+  @Test void testPercentile() {
+    sql("SELECT percentile(x, .5) within group (order by 3) from t")
+        .ok("SELECT `PERCENTILE`(`X`, 0.5) WITHIN GROUP (ORDER BY 3)\n"

Review Comment:
   Do you have a reference I can see for this `PERCENTILE` function ? I am not 
familiar with it.



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

Reply via email to