This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
from e1a6a3db903 Optimize postgresql/opengauss geometric operator sql parse
logic (#20268)
add 23c05250ec8 Add MIGRATE TABLE DistSQL (#20270)
No new revisions were added by this update.
Summary of changes:
...rationUpdater.java => MigrateTableUpdater.java} | 13 +++++-----
....shardingsphere.infra.distsql.update.RALUpdater | 1 +
.../src/main/antlr4/imports/migration/Keyword.g4 | 12 +++++++++
.../main/antlr4/imports/migration/RALStatement.g4 | 24 +++++++++++++++++
.../parser/autogen/MigrationDistSQLStatement.g4 | 1 +
.../core/MigrationDistSQLStatementVisitor.java | 11 ++++++++
...onStatement.java => MigrateTableStatement.java} | 12 ++++++---
.../UpdatableScalingRALStatementAssert.java | 7 ++++-
.../update/MigrateTableStatementAssert.java} | 30 ++++++++++------------
.../jaxb/cases/domain/SQLParserTestCases.java | 4 +++
...ase.java => MigrateTableStatementTestCase.java} | 21 ++++++++-------
.../src/main/resources/case/ral/migration.xml | 13 ++++++++++
.../main/resources/sql/supported/ral/migration.xml | 2 ++
13 files changed, 115 insertions(+), 36 deletions(-)
copy
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-distsql/shardingsphere-sharding-distsql-handler/src/main/java/org/apache/shardingsphere/migration/distsql/handler/update/{DropMigrationUpdater.java
=> MigrateTableUpdater.java} (76%)
copy
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-distsql/shardingsphere-sharding-distsql-statement/src/main/java/org/apache/shardingsphere/migration/distsql/statement/{ApplyMigrationStatement.java
=> MigrateTableStatement.java} (78%)
copy
shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/asserts/statement/distsql/ral/impl/{queryable/ShowVariableStatementAssert.java
=> migration/update/MigrateTableStatementAssert.java} (53%)
copy
shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/statement/distsql/ral/migration/{ShowMigrationStatusStatementTestCase.java
=> MigrateTableStatementTestCase.java} (70%)