xuzifu666 commented on code in PR #4933:
URL: https://github.com/apache/calcite/pull/4933#discussion_r3440094304
##########
core/src/main/java/org/apache/calcite/runtime/CalciteResource.java:
##########
@@ -505,6 +505,15 @@ ExInst<SqlValidatorException>
intervalFieldExceedsPrecision(Number a0,
@BaseMessage("QUALIFY expression ''{0}'' must contain a window function")
ExInst<SqlValidatorException>
qualifyExpressionMustContainWindowFunction(String a0);
+ @BaseMessage("SELECT DISTINCT ON is not supported under the current SQL
conformance level")
+ ExInst<SqlValidatorException> distinctOnNotAllowed();
+
+ @BaseMessage("SELECT DISTINCT ON requires an ORDER BY clause")
+ ExInst<SqlValidatorException> distinctOnRequiresOrderBy();
+
+ @BaseMessage("SELECT DISTINCT ON expressions must match initial ORDER BY
expressions")
Review Comment:
This could be ambiguous, so I deleted the word.
--
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]