You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ji...@apache.org on 2022/01/26 02:42:43 UTC
[shardingsphere] branch master updated (76a8b27 -> 15435d0)
This is an automated email from the ASF dual-hosted git repository.
jianglongtao pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.
from 76a8b27 Reduce ParameterRewriterBuilder size to improve performance (#15064)
add 15435d0 [DistSQL] Support `drop traffic rule` syntax. (#15058)
No new revisions were added by this update.
Summary of changes:
.../src/main/antlr4/imports/Keyword.g4 | 8 ++
.../src/main/antlr4/imports/RALStatement.g4 | 8 ++
.../parser/autogen/CommonDistSQLStatement.g4 | 1 +
.../core/common/CommonDistSQLStatementVisitor.java | 12 ++
.../DropTrafficRuleStatement.java} | 12 +-
.../rule/RequiredRuleMissedException.java | 4 +
.../common/CommonDistSQLBackendHandlerFactory.java | 5 +
.../ral/common/drop/DropTrafficRuleHandler.java | 75 +++++++++++
.../common/drop/DropTrafficRuleHandlerTest.java | 142 +++++++++++++++++++++
9 files changed, 261 insertions(+), 6 deletions(-)
copy shardingsphere-distsql/shardingsphere-distsql-statement/src/main/java/org/apache/shardingsphere/distsql/parser/statement/ral/common/{RefreshTableMetadataStatement.java => drop/DropTrafficRuleStatement.java} (81%)
create mode 100644 shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/ral/common/drop/DropTrafficRuleHandler.java
create mode 100644 shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/distsql/ral/common/drop/DropTrafficRuleHandlerTest.java