seawinde opened a new pull request, #40942:
URL: https://github.com/apache/doris/pull/40942
## Proposed changes
Support partition trace form multi join input when create parition
materialized view.
`o_orderdate` is the partition column of `orders`, `l_shipdate` is the
partition column of `lineitem`
Such as mv def is as following, if data in `lineitem` or `orders` change,
the materialized view mv1_0 can partition increment update.
```sql
CREATE MATERIALIZED VIEW mv1_0
BUILD IMMEDIATE REFRESH COMPLETE ON MANUAL
PARTITION BY (o_orderdate)
DISTRIBUTED BY RANDOM BUCKETS 3
PROPERTIES ('replication_num' = '1')
AS
select o_orderdate, count(l_shipdate)
from lineitem
inner join orders
on l_shipdate = o_orderdate
group by o_orderdate
```
Note: we only support inner join type, other join type would be supported
later
--
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]