Aranya7 opened a new pull request, #69476: URL: https://github.com/apache/doris/pull/69476
### What problem does this PR solve? Backport of #69212 to `branch-4.2`. Original merged commit: `3b8b5d8f54ce69076f83e343d3838bbbf5c613d2` This fix allows synchronous materialized-view rewriting when the query session and MV creation session differ only in the `STRICT_TRANS_TABLES` and/or `STRICT_ALL_TABLES` SQL-mode bits. Other SQL-mode bits and result-affecting session variables continue to be compared strictly. ### Backport changes Cherry-picked the original fix onto `branch-4.2`. The regression test and expected output were placed under `nereids_p0/variables_persist`, following the directory structure of the release branch. No intentional changes were made to the original fix's behavior. ### Validation - [x] FE build on `branch-4.2` - [x] Java unit tests (`VariablePersistTest`) ### Release note Fix synchronous materialized-view rollup rewriting when the query and materialized-view creation sessions differ only in the STRICT_TRANS_TABLES and/or STRICT_ALL_TABLES SQL-mode flags. -- 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]
