You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "strongduanmu (via GitHub)" <gi...@apache.org> on 2026/05/08 02:50:42 UTC

[PR] Modify cache exist log in SQLStatementCompilerEngine [shardingsphere]

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

   Fixes #ISSUSE_ID.
   
   Changes proposed in this pull request:
     - Modify cache exist log in SQLStatementCompilerEngine
   
   ---
   
   Before committing this PR, I'm sure that I have checked the following options:
   - [ ] My code follows the [code of conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/) of this project.
   - [ ] I have self-reviewed the commit code.
   - [ ] I have (or in comment I request) added corresponding labels for the pull request.
   - [ ] I have passed maven check locally : `./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e`.
   - [ ] I have made corresponding changes to the documentation.
   - [ ] I have added corresponding unit tests for my changes.
   - [ ] I have updated the Release Notes of the current development version. For more details, see [Update Release Note](https://shardingsphere.apache.org/community/en/involved/contribute/contributor/)
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


Re: [PR] Modify cache exist log in SQLStatementCompilerEngine [shardingsphere]

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


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


Re: [PR] Modify cache exist log in SQLStatementCompilerEngine [shardingsphere]

Posted by "strongduanmu (via GitHub)" <gi...@apache.org>.
strongduanmu commented on PR #38675:
URL: https://github.com/apache/shardingsphere/pull/38675#issuecomment-4403168981

   • Merge Verdict: Mergeable
   
     Reviewed Scope: kernel/sql-federation/compiler/src/main/java/.../SQLStatementCompilerEngine.java latest PR diff, related cache loader path, JDBC/Proxy SQL federation entry points, CI/E2E status.
   
     Not Reviewed Scope: full SQL federation runtime scenario and full module coverage.
   
     Need Expert Review: No.
   
     Review 建议:
   
     This change is in the right direction. The previous debug log used LoadingCache#get to check whether the execution plan cache existed, which could trigger the cache loader and compile the SQL before the
   real compile path. Using getIfPresent keeps the log check side-effect free while preserving the existing behavior for the actual useCache branch.
   
     CI and E2E have passed, and the change is limited to debug logging in SQLStatementCompilerEngine. I do not see a blocking regression risk for this PR.
   
     本地我也跑过:
   
     ./mvnw -pl kernel/sql-federation/compiler -am -DskipITs -Dspotless.skip=true -Dtest=SQLStatementCompilerEngineTest -Dsurefire.failIfNoSpecifiedTests=false test


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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