strongduanmu opened a new pull request, #40342:
URL: https://github.com/apache/shardingsphere/pull/40342

   Changes proposed in this pull request:
   
   - Resolve `ORDER BY` columns from the current query's FROM scope before 
searching correlated outer scopes when the projection scope has no match, and 
restore the temporary scope after binding.
   - Preserve SELECT INTO metadata when copying and binding statements, and 
move LOAD DATA metadata into the shared statement model while preserving the 
MySQL statement API.
   - Add regression coverage for local and outer scope precedence, ambiguous 
columns, scope restoration, and SELECT statement metadata copying.
   
   Validation: 59 focused binder and statement-model tests passed locally. 
Scoped Spotless and Checkstyle checks and the repository RAT check passed. Full 
CI is requested through this pull request's GitHub Actions checks.
   
   AI assistance disclosure: Codex materially assisted with the SQL binder 
changes, shared SQL statement models, and corresponding regression tests in 
this pull request.
   
   
   Please apply the appropriate SQL binder and SQL parser statement labels. No 
documentation changes are required.
   
   ---
   
   Before submitting this PR, I confirm that:
   - [x] My code follows the [code of 
conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/) 
of this project.
   - [x] I have reviewed my changes.
   - [ ] I have (or in comment I request) added corresponding labels for the 
pull request.
   - [ ] I have passed the required local checks: `./mvnw clean install -B -T1C 
-Pcheck`.
   - [x] I have updated the relevant documentation, if applicable.
   - [x] I have added or updated unit tests for my changes, if applicable.
   - [ ] I have updated the Release Notes of the current development version, 
if applicable. For more details, see [Update Release 
Note](https://shardingsphere.apache.org/community/en/involved/contribute/contributor/).
   - [x] I have disclosed the tool and affected files or scope for any material 
AI assistance, as required by the [AI-assisted contribution policy].
   
   [AI-assisted contribution policy]: 
https://github.com/apache/shardingsphere/blob/master/AI_POLICY.md
   


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

Reply via email to