seawinde opened a new pull request, #37561: URL: https://github.com/apache/doris/pull/37561
## Proposed changes Support querying rewrite by materialized view when DML such as insert and insert overwrite , into outfile etc. this is default enable, you can disable it by `set enable_dml_materialized_view_rewrite = false` and the `enable_materialized_view_rewrite` is only control DQL. It would not rewrite by materialized view when query sql use external table. If you want rewrite by materialized view when use external table in DML, you should `set enable_dml_materialized_view_rewrite_when_base_table_data_unawareness = true;` this is default false. -- 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