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/20 09:13:31 UTC
[shardingsphere] branch master updated (2e45904 -> cf87a9c)
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 2e45904 Support alter foregin data wrapper for postgresql (#14897)
add cf87a9c [DistSQL] Support `count schema rules` syntax (#14736)
No new revisions were added by this update.
Summary of changes:
.../src/main/antlr4/imports/Keyword.g4 | 4 +
.../src/main/antlr4/imports/RQLStatement.g4 | 9 +-
.../parser/autogen/CommonDistSQLStatement.g4 | 1 +
.../core/common/CommonDistSQLStatementVisitor.java | 7 +
...atement.java => CountSchemaRulesStatement.java} | 6 +-
.../DropDatabaseDiscoveryRuleStatementUpdater.java | 2 +-
.../distsql/constant/ExportableConstants.java | 2 -
.../rql/rule/SchemaRulesQueryResultSet.java | 165 +++++++++++++++++++++
...dingsphere.infra.distsql.query.DistSQLResultSet | 1 +
.../distsql/rql/SchemaRulesQueryResultSetTest.java | 149 +++++++++++++++++++
.../distsql/rql/impl/ShowRulesStatementAssert.java | 5 +
...t.java => CountSchemaRulesStatementAssert.java} | 16 +-
.../jaxb/cases/domain/SQLParserTestCases.java | 5 +
...java => CountSchemaRulesStatementTestCase.java} | 4 +-
.../src/main/resources/case/rql/show.xml | 4 +
.../src/main/resources/sql/supported/rql/show.xml | 1 +
16 files changed, 363 insertions(+), 18 deletions(-)
copy shardingsphere-distsql/shardingsphere-distsql-statement/src/main/java/org/apache/shardingsphere/distsql/parser/statement/rql/show/{ShowSingleTableRulesStatement.java => CountSchemaRulesStatement.java} (84%)
create mode 100644 shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/rql/rule/SchemaRulesQueryResultSet.java
create mode 100644 shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/distsql/rql/SchemaRulesQueryResultSetTest.java
copy shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/asserts/statement/distsql/rql/impl/rule/{ShowSingleTableStatementAssert.java => CountSchemaRulesStatementAssert.java} (79%)
copy shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/statement/distsql/rql/{ShowShadowAlgorithmsStatementTestCase.java => CountSchemaRulesStatementTestCase.java} (90%)