seawinde opened a new pull request, #35907:
URL: https://github.com/apache/doris/pull/35907
## Proposed changes
this is draft, Support mv rewrite as following
`create materialized view lineorder_q_1_3 DISTRIBUTED BY RANDOM BUCKETS 2
PROPERTIES ('replication_num' = '1')
as
SELECT
l_orderkey,
SUM(l_extendedprice * l_discount) AS revenue
FROM lineitem
GROUP BY
l_orderkey;`
```
explain
SELECT
SUM(l_extendedprice * l_discount) AS revenue
FROM lineitem;
```
--
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]