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

Reply via email to