mihaibudiu commented on code in PR #4919:
URL: https://github.com/apache/calcite/pull/4919#discussion_r3206038814


##########
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java:
##########
@@ -6807,7 +6811,7 @@ private SqlNode navigationInDefine(SqlNode node, String 
alpha) {
     // Because there are two forms of the PERCENTILE_CONT/PERCENTILE_DISC 
functions,
     // they are distinguished by their operand count and then validated 
accordingly.
     // For example, the standard single operand form requires group order 
while the
-    // 2-operand form allows for null treatment and requires an OVER() clause.
+    // 2-operand form allows for null treatment.

Review Comment:
   was this comment incorrect?
   If not, I think the assert can be put back



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