Skip to content

Commit

Permalink
+1
Browse files Browse the repository at this point in the history
  • Loading branch information
wangbo committed Oct 31, 2024
1 parent 06e9863 commit 5b65d58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,9 @@ private static void checkProperties(Map<String, String> properties) throws DdlEx
String[] tagArr = tagStr.split(",");
for (String tag : tagArr) {
try {
FeNameFormat.checkCommonName("workload group tag name", tag);
FeNameFormat.checkCommonName("workload group tag", tag);
} catch (AnalysisException e) {
throw new DdlException("workload group tag name format is illegal, " + tagStr);
throw new DdlException("tag format is illegal, " + tagStr);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ suite("test_crud_wlg") {
// test workload group's tag property, cpu_hard_limit
test {
sql "create workload group tag_test properties('tag'=' a, b , c ');"
exception "Incorrect workload group tag name"
exception "tag format is illegal"
}

test {
Expand Down

0 comments on commit 5b65d58

Please sign in to comment.