You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "levy5307 (via GitHub)" <gi...@apache.org> on 2023/04/23 03:32:05 UTC

[GitHub] [doris] levy5307 commented on a diff in pull request #18873: [Feature](resource-group) Support drop resource group

levy5307 commented on code in PR #18873:
URL: https://github.com/apache/doris/pull/18873#discussion_r1174500789


##########
fe/fe-core/src/main/java/org/apache/doris/resource/resourcegroup/ResourceGroupMgr.java:
##########
@@ -149,6 +151,30 @@ public void createResourceGroup(CreateResourceGroupStmt stmt) throws DdlExceptio
         LOG.info("Create resource group success: {}", resourceGroup);
     }
 
+    public void dropResourceGroup(DropResourceGroupStmt stmt) throws DdlException {
+        if (!Config.enable_resource_group) {
+            throw new DdlException("unsupported feature now, coming soon.");
+        }
+
+        String resourceGroupName = stmt.getResourceGroupName();

Review Comment:
   Done



-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org