yiguolei commented on code in PR #44255:
URL: https://github.com/apache/doris/pull/44255#discussion_r1855920766
##########
fe/fe-core/src/main/java/org/apache/doris/mysql/privilege/UserProperty.java:
##########
@@ -358,6 +367,15 @@ public void update(List<Pair<String, String>> properties,
boolean isReplay) thro
throw new DdlException("workload group " + value + " not
exists");
}
workloadGroup = value;
+ } else if
(keyArr[0].equalsIgnoreCase(PROP_ALLOW_RESOURCE_TAG_DOWNGRADE)) {
+ if (keyArr.length != 1) {
+ throw new DdlException(PROP_ALLOW_RESOURCE_TAG_DOWNGRADE +
" format error");
+ }
+ if (!"true".equals(value) && !"false".equals(value)) {
Review Comment:
equals ignore 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]