seawinde opened a new pull request, #40244:
URL: https://github.com/apache/doris/pull/40244

   ## Proposed changes
   
   Support to contain select constant clause when create async materialized view
   Such as the mv def is as following, ` (select 1 as l_orderkey,'2023-12-10' 
as l_shipdate)` is supported:
   ```sql
   CREATE MATERIALIZED VIEW mv_1
           BUILD DEFERRED REFRESH COMPLETE ON MANUAL
           DISTRIBUTED BY RANDOM BUCKETS 2
           PROPERTIES ('replication_num' = '1') 
           AS
           select * from
           (select 1 as l_orderkey,'2023-12-10' as l_shipdate) as c_lineitem
           left join orders on c_lineitem.l_orderkey = orders.o_orderkey and 
c_lineitem.l_shipdate = o_orderdate;
   ```
   


-- 
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