Open bulolo opened 1 day ago
excluded_trigger_tables
和 excluded_refresh_tables
支持 物化视图吗?还是一定要是个table?
我自己验证过 excluded_trigger_tables和excluded_refresh_tables不支持mv,想确认一下是否支持?
CREATE MATERIALIZED VIEW dwd_order_mv
REFRESH ASYNC START('2024-10-01 10:00:00') EVERY(INTERVAL 10 MINUTE)
PARTITION BY date_trunc('day', created)
PROPERTIES(
"partition_refresh_number" = "30",
"excluded_trigger_tables" = "dict_mv",
"excluded_refresh_tables" = "dict_mv"
)
as
SELECT o.*, d.* FROM ods_order o left join dict_mv d on XXX
如上语句 excluded_trigger_tables 和 excluded_refresh_tables 填写的是一个mv,而非table,会生效吗?
3.3.6
REFRESH ASYNC START('2024-10-01 10:00:00') EVERY(INTERVAL 10 MINUTE)
it did not suportexcluded_trigger_tables
andexcluded_refresh_tables
whendict_mv
is not change at all and onlyods_order
change,dwd_order_mv
will refresh all PARTITIONSso i confused ,is excluded_trigger_tables and excluded_refresh_tables support mv or is a bug?
i write it on https://junyao.tech/posts/ee5c2ad.html