tanclary commented on code in PR #3554:
URL: https://github.com/apache/calcite/pull/3554#discussion_r1409698159
##########
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:
If hive offers a `PERCENTILE` function, I don't think Calcite supports it
yet. In that case, this test should probably wait until (at least) parsing is
available.
--
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]