wangbo commented on code in PR #49884: URL: https://github.com/apache/doris/pull/49884#discussion_r2036410791
########## fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/CreateWorkloadGroupCommand.java: ########## @@ -67,21 +75,38 @@ private void validate(ConnectContext ctx) throws AnalysisException { } String tagStr = properties.get(WorkloadGroup.TAG); - if (!StringUtils.isEmpty(tagStr) - && WorkloadGroupMgr.DEFAULT_GROUP_NAME.equals(workloadGroupName)) { + if (!StringUtils.isEmpty(tagStr)) { Review Comment: 字符串为null或者empty都会被StringUtils.isEmpty判定为空 -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org