a-rafay commented on a change in pull request #2444:
URL: https://github.com/apache/calcite/pull/2444#discussion_r659096482
##########
File path: core/src/main/java/org/apache/calcite/sql/type/OperandTypes.java
##########
@@ -369,6 +369,49 @@ private boolean hasFractionalPart(BigDecimal bd) {
}
};
+ /**
+ * Operand type-checking strategy type must be a numeric non-NULL
+ * literal in the range 0 - 1.
Review comment:
Yes. thats why i used the name "unit interval".
##########
File path: core/src/main/codegen/templates/Parser.jj
##########
@@ -6932,6 +6932,8 @@ SqlIdentifier ReservedFunctionName() :
| <NTILE>
| <NULLIF>
| <OCTET_LENGTH>
+ | <PERCENTILE_CONT>
+ | <PERCENTILE_DISC>
Review comment:
Done.
--
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]