You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Aranya7 (via GitHub)" <gi...@apache.org> on 2026/10/22 15:26:47 UTC

[PR] branch-4.2: [fix](nereids) Allow sync MV rewrite across strict-table SQL modes [doris]

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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] branch-4.2: [fix](nereids) Allow sync MV rewrite across strict-table SQL modes [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #69476:
URL: https://github.com/apache/doris/pull/69476#issuecomment-6353158364

   # FE Regression Coverage Report
   Increment line coverage `  71.43% (20/28)` :tada:
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/69476_11d1fc7de795a1e0c44f8faca265353dcad9a0dc_merge_fe/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/69476_11d1fc7de795a1e0c44f8faca265353dcad9a0dc_merge_fe/report/index.html)
   


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] branch-4.2: [fix](nereids) Allow sync MV rewrite across strict-table SQL modes [doris]

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei merged PR #69476:
URL: https://github.com/apache/doris/pull/69476


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] branch-4.2: [fix](nereids) Allow sync MV rewrite across strict-table SQL modes [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #69476:
URL: https://github.com/apache/doris/pull/69476#issuecomment-6344511406

   
   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://doris.apache.org/community/how-to-contribute/review-and-ci).
   
   Please clearly describe your PR:
   1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
   2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
   3. What features were added. Why was this function added?
   4. Which code was refactored and why was this part of the code refactored?
   5. Which functions were optimized and what is the difference before and after the optimization?
       


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] branch-4.2: [fix](nereids) Allow sync MV rewrite across strict-table SQL modes [doris]

Posted by "Aranya7 (via GitHub)" <gi...@apache.org>.
Aranya7 commented on PR #69476:
URL: https://github.com/apache/doris/pull/69476#issuecomment-6344535149

   run buildall


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] branch-4.2: [fix](nereids) Allow sync MV rewrite across strict-table SQL modes [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #69476:
URL: https://github.com/apache/doris/pull/69476#issuecomment-6352276942

   # FE UT Coverage Report
   Increment line coverage `  100.00% (28/28)` :tada:
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/69476_11d1fc7de795a1e0c44f8faca265353dcad9a0dc/fe_increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/69476_11d1fc7de795a1e0c44f8faca265353dcad9a0dc/fe_report/index.html)
   


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org