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: [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]