You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/05/26 02:33:38 UTC

[GitHub] [incubator-doris] stalary commented on a diff in pull request #9778: [Bug] sql block rule npe

stalary commented on code in PR #9778:
URL: https://github.com/apache/incubator-doris/pull/9778#discussion_r882263977


##########
fe/fe-core/src/main/java/org/apache/doris/blockrule/SqlBlockRule.java:
##########
@@ -33,12 +34,13 @@
 import java.util.List;
 import java.util.regex.Pattern;
 
+/**
+ * Use for block some sql by rule.
+ **/
 public class SqlBlockRule implements Writable {
 
     public static final String NAME_TYPE = "SQL BLOCK RULE NAME";
 
-    public static final String DEFAULT_USER = "default";

Review Comment:
   DEFAULT_USER is used only when the first designed, and then defined with global, it is no longer needed



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