zddr commented on code in PR #24841:
URL: https://github.com/apache/doris/pull/24841#discussion_r1337995425


##########
fe/fe-core/src/main/java/org/apache/doris/mysql/privilege/PrivEntry.java:
##########
@@ -187,4 +188,29 @@ protected static int compareAssist(String... strings) {
         }
         return 0;
     }
+
+    protected PrivEntry copy() throws AnalysisException, 
PatternMatcherException {

Review Comment:
   change this method to `abstract`,then write the `copy logic` to each 
subclass 



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

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


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

Reply via email to