suibianwanwank commented on code in PR #3960:
URL: https://github.com/apache/calcite/pull/3960#discussion_r1756991891
##########
core/src/test/java/org/apache/calcite/test/LintTest.java:
##########
@@ -393,6 +393,21 @@ private static void checkMessage(String subject, String
body,
if (subject2.matches("[a-z].*")) {
consumer.accept("Message must start with upper-case letter");
}
+ if (subject2.matches(".*\\bmysql\\b.*") ||
subject2.matches(".*\\bMysql\\b.*")) {
Review Comment:
Is it possible to design a more generic approach here to facilitate future
expansion, I think it will have more of these term in the future e.g. Presto,
Oracle, StarRocks, BigQuery..
For example, we can design a keywords set that restricts all terms that
don't fully satisfy case.
--
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]