siriume commented on issue #13174: URL: https://github.com/apache/doris/issues/13174#issuecomment-1272286306
[Materialized view](https://doris.apache.org/zh-CN/docs/advanced/materialized-view/) don't support `cast` function. Please check the document above. Use Materialized view like this. ```sql create materialized view test_mv as select dt ,new_cid ,sum(pv) as pv ,sum(duration) as duration ,sum(start_cnt) as start_cnt from test group by dt,new_cid; ``` -- 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