You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/12/29 12:18:53 UTC
[shardingsphere] branch master updated (a3a460d -> e30b2bc)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.
from a3a460d Prepare execution by creating CalciteLogicSchemaGenerator (#8811)
add e30b2bc Support alter replica_query rule (#8805)
No new revisions were added by this update.
Summary of changes:
.../src/main/antlr4/imports/Keyword.g4 | 4 +
.../src/main/antlr4/imports/RDLStatement.g4 | 8 ++
.../distsql/parser/autogen/DistSQLStatement.g4 | 1 +
.../distsql/parser/core/DistSQLVisitor.java | 33 ++++++
...nt.java => AlterReplicaQueryRuleStatement.java} | 4 +-
...> AlterReplicaQueryRuleStatementConverter.java} | 22 ++--
...va => ReplicaQueryRuleNotExistedException.java} | 12 +--
.../text/distsql/rdl/RDLBackendHandlerFactory.java | 5 +
.../impl/AlterReplicaQueryRuleBackendHandler.java | 111 +++++++++++++++++++++
9 files changed, 182 insertions(+), 18 deletions(-)
copy shardingsphere-distsql-parser/shardingsphere-distsql-parser-statement/src/main/java/org/apache/shardingsphere/distsql/parser/statement/rdl/create/impl/{CreateReplicaQueryRuleStatement.java => AlterReplicaQueryRuleStatement.java} (91%)
copy shardingsphere-features/shardingsphere-replica-query/shardingsphere-replica-query-common/src/main/java/org/apache/shardingsphere/replicaquery/yaml/converter/{CreateReplicaQueryRuleStatementConverter.java => AlterReplicaQueryRuleStatementConverter.java} (76%)
copy shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/{TablesInUsedException.java => ReplicaQueryRuleNotExistedException.java} (80%)
create mode 100644 shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/rdl/impl/AlterReplicaQueryRuleBackendHandler.java