@@ -60,6 +60,7 @@ import org.apache.doris.load.loadv2.LoadTask;
60
60
import org.apache.doris.policy.PolicyTypeEnum;
61
61
import org.apache.doris.resource.workloadschedpolicy.WorkloadConditionMeta;
62
62
import org.apache.doris.resource.workloadschedpolicy.WorkloadActionMeta;
63
+ import org.apache.doris.system.NodeType;
63
64
64
65
import com.google.common.collect.Lists;
65
66
import com.google.common.collect.Maps;
@@ -4707,15 +4708,15 @@ show_param ::=
4707
4708
:}
4708
4709
| KW_FRONTEND KW_CONFIG opt_wild_where
4709
4710
{:
4710
- RESULT = new ShowConfigStmt(AdminSetConfigStmt.ConfigType .FRONTEND, parser.wild);
4711
+ RESULT = new ShowConfigStmt(NodeType .FRONTEND, parser.wild);
4711
4712
:}
4712
4713
| KW_BACKEND KW_CONFIG opt_wild_where
4713
4714
{:
4714
- RESULT = new ShowConfigStmt(AdminSetConfigStmt.ConfigType .BACKEND, parser.wild);
4715
+ RESULT = new ShowConfigStmt(NodeType .BACKEND, parser.wild);
4715
4716
:}
4716
4717
| KW_BACKEND KW_CONFIG opt_wild_where KW_FROM INTEGER_LITERAL:backendId
4717
4718
{:
4718
- RESULT = new ShowConfigStmt(AdminSetConfigStmt.ConfigType .BACKEND, parser.wild, backendId);
4719
+ RESULT = new ShowConfigStmt(NodeType .BACKEND, parser.wild, backendId);
4719
4720
:}
4720
4721
| KW_TABLET KW_STORAGE KW_FORMAT
4721
4722
{:
@@ -7854,28 +7855,28 @@ admin_stmt ::=
7854
7855
:}
7855
7856
| KW_ADMIN KW_SET KW_FRONTEND KW_CONFIG opt_key_value_map:configs
7856
7857
{:
7857
- RESULT = new AdminSetConfigStmt(AdminSetConfigStmt.ConfigType .FRONTEND, configs, false);
7858
+ RESULT = new AdminSetConfigStmt(NodeType .FRONTEND, configs, false);
7858
7859
:}
7859
7860
| KW_ADMIN KW_SET KW_ALL KW_FRONTENDS KW_CONFIG opt_key_value_map:configs
7860
7861
{:
7861
- RESULT = new AdminSetConfigStmt(AdminSetConfigStmt.ConfigType .FRONTEND, configs, true);
7862
+ RESULT = new AdminSetConfigStmt(NodeType .FRONTEND, configs, true);
7862
7863
:}
7863
7864
| KW_ADMIN KW_SET KW_FRONTEND KW_CONFIG opt_key_value_map:configs KW_ALL
7864
7865
{:
7865
- RESULT = new AdminSetConfigStmt(AdminSetConfigStmt.ConfigType .FRONTEND, configs, true);
7866
+ RESULT = new AdminSetConfigStmt(NodeType .FRONTEND, configs, true);
7866
7867
:}
7867
7868
// deprecated
7868
7869
| KW_ADMIN KW_SHOW KW_FRONTEND KW_CONFIG opt_wild_where
7869
7870
{:
7870
- RESULT = new ShowConfigStmt(AdminSetConfigStmt.ConfigType .FRONTEND, parser.wild);
7871
+ RESULT = new ShowConfigStmt(NodeType .FRONTEND, parser.wild);
7871
7872
:}
7872
7873
| KW_ADMIN KW_SHOW KW_BACKEND KW_CONFIG opt_wild_where
7873
7874
{:
7874
- RESULT = new ShowConfigStmt(AdminSetConfigStmt.ConfigType .BACKEND, parser.wild);
7875
+ RESULT = new ShowConfigStmt(NodeType .BACKEND, parser.wild);
7875
7876
:}
7876
7877
| KW_ADMIN KW_SHOW KW_BACKEND KW_CONFIG opt_wild_where KW_FROM INTEGER_LITERAL:backendId
7877
7878
{:
7878
- RESULT = new ShowConfigStmt(AdminSetConfigStmt.ConfigType .BACKEND, parser.wild, backendId);
7879
+ RESULT = new ShowConfigStmt(NodeType .BACKEND, parser.wild, backendId);
7879
7880
:}
7880
7881
| KW_ADMIN KW_CHECK KW_TABLET LPAREN integer_list:tabletIds RPAREN opt_properties:properties
7881
7882
{:
0 commit comments