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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to