wangbo opened a new pull request, #33910:
URL: https://github.com/apache/doris/pull/33910
## Proposed changes
Fix alter policy's workload group failed.
```
mysql [(none)]>create workload schedule policy test_cancel_3s_query
conditions(query_time > 3000) actions(cancel_query)
properties('workload_group'='policy_group');
Query OK, 0 rows affected (0.00 sec)
mysql [(none)]>alter workload schedule policy test_cancel_3s_query
properties('workload_group'='');
Query OK, 0 rows affected (0.00 sec)
mysql [(none)]>show workload schedule policy;
+-------+----------------------+-------------------+--------------+----------+---------+---------+---------------+
| Id | Name | Condition | Action | Priority
| Enabled | Version | WorkloadGroup |
+-------+----------------------+-------------------+--------------+----------+---------+---------+---------------+
| 78073 | test_cancel_3s_query | query_time > 3000 | cancel_query | 0
| true | 1 | policy_group |
+-------+----------------------+-------------------+--------------+----------+---------+---------+---------------+
1 row in set (0.00 sec)
```
--
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]