yiguolei commented on code in PR #33483:
URL: https://github.com/apache/doris/pull/33483#discussion_r1563696386


##########
fe/fe-core/src/main/java/org/apache/doris/tablefunction/WorkloadSchedPolicyTableValuedFunction.java:
##########
@@ -41,7 +41,8 @@ public class WorkloadSchedPolicyTableValuedFunction extends 
MetadataTableValuedF
             new Column("Action", ScalarType.createType(PrimitiveType.STRING)),
             new Column("Priority", ScalarType.createType(PrimitiveType.INT)),
             new Column("Enabled", 
ScalarType.createType(PrimitiveType.BOOLEAN)),
-            new Column("Version", ScalarType.createType(PrimitiveType.INT)));
+            new Column("Version", ScalarType.createType(PrimitiveType.INT)),

Review Comment:
   需要修改对应的regression test。
   1. 新建policy的时候指定group name, group 不存在异常的处理。
   2. 修改已经存在的policy,指定group name。
   3. drop 已经存在的group,关联policy和不关联policy。



-- 
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]

Reply via email to