shaohongzhu opened a new issue, #47031:
URL: https://github.com/apache/doris/issues/47031

   
   ### Discussed in https://github.com/apache/doris/discussions/47030
   
   <div type='discussions-op-text'>
   
   <sup>Originally posted by **shaohongzhu** January 15, 2025</sup>
   doris版本:2.1.7
   创建sql:CREATE MATERIALIZED VIEW mv_1_0
   BUILD IMMEDIATE 
   REFRESH AUTO
   ON MANUAL 
   DISTRIBUTED BY RANDOM BUCKETS 2 
   AS 
   SELECT 
   l_linestatus, 
   to_date(o_orderdate) as date_alias, 
   o_shippriority 
   FROM 
   orders 
   LEFT JOIN lineitem ON l_orderkey = o_orderkey;
   报错:
   Failed to execute sql: org.apache.doris.common.AnalysisException: errCode = 
2, detailMessage = Syntax error in line 2:
   BUILD IMMEDIATE 
   ^
   Encountered: BUILD
   Expected
   
   设置  SET GLOBAL enable_nereids_planner = true;  之后还是报同样的错误
   </div>


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