wangwq10 opened a new issue, #47301: URL: https://github.com/apache/doris/issues/47301
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 2.1.5 rc02 ### What's Wrong? when set group_commit to sync_mode : +-------------------------------------+------------+---------------+---------+ | Variable_name | Value | Default_Value | Changed | +-------------------------------------+------------+---------------+---------+ | group_commit | sync_mode | off_mode | 1 | SQL quite simple for example : CREATE MATERIALIZED VIEW IF NOT EXISTS %s.%s_stat REFRESH AUTO ON SCHEDULE EVERY 30 MINUTE PARTITION BY(`__dt__`) DISTRIBUTED BY RANDOM BUCKETS AUTO AS SELECT `service_name` FROM (SELECT `service_name`, FROM %s.%s ) t GROUP BY `service_name`, It shows error like below: ERROR 1105 (HY000): errCode = 2, detailMessage = Syntax error in line 1: CREATE MATERIALIZED VIEW IF NOT EXISTS xxxxxxxx... ^ Encountered: IF Expected: IF is keyword, maybe `IF` ### What You Expected? It should create successful as same as set group_commit to 'off_mode' ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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