[feature-wip](MTMV) Support refresh mtmv (#16218)
Support using this sql to refresh mtmv manually. It can generate a mtmv task right now. ``` REFRESH MATERIALIZED VIEW test_mv_view [complete]; ``` You can use `show mtmv task` to show the latest task. In this pr, I also try to clear the mtmv tasks when drop the mtmv to make sure test suite to be right
This commit is contained in:
@ -1812,6 +1812,9 @@ public class Config extends ConfigBase {
|
||||
@ConfField(mutable = true, masterOnly = true)
|
||||
public static long scheduler_mtmv_task_expired = 24 * 60 * 60L; // 1day
|
||||
|
||||
@ConfField(mutable = true, masterOnly = true)
|
||||
public static boolean keep_scheduler_mtmv_task_when_job_deleted = false;
|
||||
|
||||
/**
|
||||
* The candidate of the backend node for federation query such as hive table and es table query.
|
||||
* If the backend of computation role is less than this value, it will acquire some mix backend.
|
||||
|
||||
Reference in New Issue
Block a user