luozenglin commented on code in PR #18873:
URL: https://github.com/apache/doris/pull/18873#discussion_r1174497344
##########
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:
The default resource group should not be allowed to be dropped.
--
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]