You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2023/06/13 08:08:55 UTC

[shardingsphere] branch master updated (933b352caee -> 0817b338b7a)

This is an automated email from the ASF dual-hosted git repository.

panjuan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


    from 933b352caee Revise #26312, make executionPlanCache optional in DistSQL. (#26320)
     add 0817b338b7a Add execution plan cache for sql federation and use useCache flag (#26316)

No new revisions were added by this update.

Summary of changes:
 .../sqlfederation/engine/SQLFederationEngine.java  | 52 +++++++++++++++-------
 .../optimizer/SQLFederationCompilerEngine.java     | 22 +++++----
 .../SQLStatementCompiler.java}                     |  7 +--
 .../SQLStatementCompilerEngine.java}               | 21 ++++-----
 .../SQLStatementCompilerEngineFactory.java         | 26 +++++------
 .../context/planner/OptimizerPlannerContext.java   | 22 ++++++++-
 .../planner/cache/ExecutionPlanCacheBuilder.java   |  5 +--
 .../planner/cache/ExecutionPlanCacheKey.java}      | 19 +++++---
 .../planner/cache/ExecutionPlanCacheLoader.java    | 15 +++----
 .../SQLFederationDeciderNotMatchFixture.java       |  2 +-
 ...rIT.java => SQLFederationCompilerEngineIT.java} | 16 ++++---
 11 files changed, 128 insertions(+), 79 deletions(-)
 rename kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/{SQLFederationCompiler.java => compiler/SQLStatementCompiler.java} (93%)
 copy kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/{SQLFederationCompilerEngine.java => compiler/SQLStatementCompilerEngine.java} (60%)
 copy infra/parser/src/main/java/org/apache/shardingsphere/infra/parser/sql/SQLStatementParserEngineFactory.java => kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/compiler/SQLStatementCompilerEngineFactory.java (52%)
 copy kernel/{traffic/api/src/main/java/org/apache/shardingsphere/traffic/api/traffic/segment/SegmentTrafficValue.java => sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/planner/cache/ExecutionPlanCacheKey.java} (68%)
 rename kernel/sql-federation/core/src/test/java/org/apache/shardingsphere/sqlfederation/optimizer/it/{SQLFederationCompilerIT.java => SQLFederationCompilerEngineIT.java} (95%)