Re: Re: Code for incremental plan of materialized view upon data change

2022-09-23 Thread Botong Huang
Cool, thx a lot! Best, Botong On Fri, Sep 23, 2022 at 11:46 PM Mingyu Chen wrote: > Currently, Doris does not support multi-table materialized view. > So the mv with join is not supported yet. > > > Doris only support mv for single table, with some certain aggregation such > as sum, min, max, c

Re:Re: Code for incremental plan of materialized view upon data change

2022-09-23 Thread Mingyu Chen
Currently, Doris does not support multi-table materialized view. So the mv with join is not supported yet. Doris only support mv for single table, with some certain aggregation such as sum, min, max, count, count(dinstinct) For example, there is a base table A with column (k1, k2, v1, v2), you c

Re: Code for incremental plan of materialized view upon data change

2022-09-23 Thread Botong Huang
Thanks for the reply! I do understand from doc that the incremental update of MV is triggered upon base table change. But I cannot find the actual code in Doris code base that does the update, specifically the actual incremental plan (tree of operator generated by the optimizer) to update the vie

Code for incremental plan of materialized view upon data change

2022-09-21 Thread Botong Huang
Hi all, Does anyone know where the code is for generating the incremental plan for updating the materialized view when the base table receives new data? Many thanks! 想知道物化视图的增量维护的plan生成的代码在哪里,谢谢! Best, Botong