caicancai commented on code in PR #4158:
URL: https://github.com/apache/calcite/pull/4158#discussion_r1926438733
##########
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java:
##########
@@ -4431,6 +4431,15 @@ private void validateModality(SqlNode query) {
default:
break;
}
+ } else if (query.getKind() == SqlKind.WITH) {
+ // The modality of With clause depends on its body
Review Comment:
just one comment, With clause -> WITH clause.
This may better distinguish the WITH keyword
--
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]