yiguolei commented on code in PR #49884: URL: https://github.com/apache/doris/pull/49884#discussion_r2035070192
########## 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)) { throw new AnalysisException( - WorkloadGroupMgr.DEFAULT_GROUP_NAME - + " group can not set tag"); + "tag is deprecated, you can use create workload group [for compute group] as a replacement."); Review Comment: 提示词改成 for compute/resource group -- 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