zingdle commented on code in PR #8849:
URL: https://github.com/apache/incubator-doris/pull/8849#discussion_r843757366
##########
fe/fe-core/src/main/java/org/apache/doris/analysis/DropUserStmt.java:
##########
@@ -29,12 +29,24 @@
// drop user cmy <==> drop user cmy@'%'
// drop user cmy@'192.168.1.%'
public class DropUserStmt extends DdlStmt {
+
+ private boolean ifExists;
private UserIdentity userIdent;
public DropUserStmt(UserIdentity userIdent) {
this.userIdent = userIdent;
}
+ public DropUserStmt(boolean ifExists, UserIdentity userIdent) {
+ this.ifExists = ifExists;
+ this.userIdent = userIdent;
+ }
+
+ public boolean isSetIfExists() {
+ return ifExists;
+ }
+
+
Review Comment:
resolved
--
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]