diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.cn.md
index c4ff7abbee61b..d7fd211fcd98a 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.cn.md
@@ -22,7 +22,7 @@ ShardingSphere 对 ClickHouse JDBC Driver 的支持位于可选模块中。
org.apache.shardingsphere
- shardingsphere-parser-sql-clickhouse
+ shardingsphere-jdbc-dialect-clickhouse
${shardingsphere.version}
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.en.md b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.en.md
index 1dfb22db5de4f..6d50036394745 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.en.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.en.md
@@ -22,7 +22,7 @@ the possible Maven dependencies are as follows,
org.apache.shardingsphere
- shardingsphere-parser-sql-clickhouse
+ shardingsphere-jdbc-dialect-clickhouse
${shardingsphere.version}
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/firebird/_index.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/firebird/_index.cn.md
index faab8e0c4d9a5..497554542446a 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/firebird/_index.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/firebird/_index.cn.md
@@ -22,7 +22,7 @@ ShardingSphere 对 Firebird JDBC Driver 的支持位于可选模块中。
org.apache.shardingsphere
- shardingsphere-parser-sql-firebird
+ shardingsphere-jdbc-dialect-firebird
${shardingsphere.version}
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/firebird/_index.en.md b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/firebird/_index.en.md
index 2b522837c5547..8809e7fe2ed1e 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/firebird/_index.en.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/firebird/_index.en.md
@@ -22,7 +22,7 @@ the possible Maven dependencies are as follows,
org.apache.shardingsphere
- shardingsphere-parser-sql-firebird
+ shardingsphere-jdbc-dialect-firebird
${shardingsphere.version}
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/hiveserver2/_index.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/hiveserver2/_index.cn.md
index 2041da71989dc..fc61495d6ac3b 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/hiveserver2/_index.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/hiveserver2/_index.cn.md
@@ -22,7 +22,7 @@ ShardingSphere 对 HiveServer2 JDBC Driver 的支持位于可选模块中。
org.apache.shardingsphere
- shardingsphere-parser-sql-hive
+ shardingsphere-jdbc-dialect-hive
${shardingsphere.version}
@@ -589,7 +589,7 @@ create table IF NOT EXISTS t_order
```
第2种选择是使用 Iceberg 表,可能的建表流程如下。Apache Iceberg 表格式有望在未来几年取代传统的 Hive 表格式,
-参考 https://blog.cloudera.com/from-hive-tables-to-iceberg-tables-hassle-free/ 。
+参考 https://lists.apache.org/thread/cfwxjd8tjt2wwz54crdjy2qsgzjnfxfm 。
```sql
-- noinspection SqlNoDataSourceInspectionForFile
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/hiveserver2/_index.en.md b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/hiveserver2/_index.en.md
index d8b17b371e769..e4e91e21de1f5 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/hiveserver2/_index.en.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/hiveserver2/_index.en.md
@@ -23,7 +23,7 @@ The possible Maven dependencies are as follows.
org.apache.shardingsphere
- shardingsphere-parser-sql-hive
+ shardingsphere-jdbc-dialect-hive
${shardingsphere.version}
@@ -600,7 +600,7 @@ create table IF NOT EXISTS t_order
```
The second option is to use Iceberg tables. The possible table creation process is as follows. Apache Iceberg table format is expected to replace the traditional Hive table format in the next few years.
-Refer to https://blog.cloudera.com/from-hive-tables-to-iceberg-tables-hassle-free/ .
+Refer to https://lists.apache.org/thread/cfwxjd8tjt2wwz54crdjy2qsgzjnfxfm .
```sql
-- noinspection SqlNoDataSourceInspectionForFile
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.cn.md
index ad237d5bf7849..777a1ff99899a 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.cn.md
@@ -22,7 +22,7 @@ ShardingSphere 对 Presto JDBC Driver 的支持位于可选模块中。
org.apache.shardingsphere
- shardingsphere-parser-sql-presto
+ shardingsphere-jdbc-dialect-presto
${shardingsphere.version}
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.en.md b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.en.md
index ce8f3a3dc8e19..b1c25a7f78443 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.en.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.en.md
@@ -22,7 +22,7 @@ Possible Maven dependencies are as follows,
org.apache.shardingsphere
- shardingsphere-parser-sql-presto
+ shardingsphere-jdbc-dialect-presto
${shardingsphere.version}
diff --git a/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/reflect-config.json b/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/reflect-config.json
index 93a5dbf492682..e8450d82ba28f 100644
--- a/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/reflect-config.json
+++ b/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/reflect-config.json
@@ -131,14 +131,6 @@
"condition":{"typeReachable":"org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepository"},
"name":"[Lcom.zaxxer.hikari.util.ConcurrentBag$IConcurrentBagEntry;"
},
-{
- "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.ShardingSphereProxy"},
- "name":"[Lcom.zaxxer.hikari.util.ConcurrentBag$IConcurrentBagEntry;"
-},
-{
- "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"},
- "name":"[Lcom.zaxxer.hikari.util.ConcurrentBag$IConcurrentBagEntry;"
-},
{
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.postgresql.command.query.extended.Portal"},
"name":"[Lcom.zaxxer.hikari.util.ConcurrentBag$IConcurrentBagEntry;"
@@ -483,7 +475,7 @@
"allDeclaredFields":true
},
{
- "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistService"},
+ "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistEnabledService"},
"name":"java.lang.Object",
"allDeclaredFields":true
},
@@ -701,11 +693,6 @@
"condition":{"typeReachable":"org.apache.shardingsphere.infra.util.yaml.YamlEngine"},
"name":"java.sql.Date"
},
-{
- "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource"},
- "name":"java.sql.SQLException",
- "fields":[{"name":"next"}]
-},
{
"condition":{"typeReachable":"org.apache.shardingsphere.infra.util.yaml.YamlEngine"},
"name":"java.sql.Timestamp"
@@ -975,6 +962,16 @@
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxyBackendHandlerFactory"},
"name":"org.apache.shardingsphere.authority.checker.AuthoritySQLExecutionChecker"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.authority.distsql.parser.core.AuthorityDistSQLLexer",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }]
+},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.authority.distsql.parser.core.AuthorityDistSQLParser",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }]
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"},
"name":"org.apache.shardingsphere.authority.distsql.parser.facade.AuthorityDistSQLParserFacade"
@@ -1141,6 +1138,16 @@
"condition":{"typeReachable":"org.apache.shardingsphere.data.pipeline.distsql.handler.migration.update.RegisterMigrationSourceStorageUnitExecutor"},
"name":"org.apache.shardingsphere.data.pipeline.cdc.api.CDCJobAPI"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.data.pipeline.cdc.distsql.parser.core.CDCDistSQLLexer",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }]
+},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.data.pipeline.cdc.distsql.parser.core.CDCDistSQLParser",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }]
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"},
"name":"org.apache.shardingsphere.data.pipeline.cdc.distsql.parser.facade.CDCDistSQLParserFacade"
@@ -1201,6 +1208,16 @@
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"},
"name":"org.apache.shardingsphere.data.pipeline.distsql.handler.transmission.update.AlterTransmissionRuleExecutor"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.data.pipeline.migration.distsql.parser.core.MigrationDistSQLLexer",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }]
+},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.data.pipeline.migration.distsql.parser.core.MigrationDistSQLParser",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }]
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"},
"name":"org.apache.shardingsphere.data.pipeline.migration.distsql.parser.facade.MigrationDistSQLParserFacade"
@@ -1346,6 +1363,16 @@
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"},
"name":"org.apache.shardingsphere.encrypt.distsql.handler.update.DropEncryptRuleExecutor"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.encrypt.distsql.parser.core.EncryptDistSQLLexer",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }]
+},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.encrypt.distsql.parser.core.EncryptDistSQLParser",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }]
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"},
"name":"org.apache.shardingsphere.encrypt.distsql.parser.facade.EncryptDistSQLParserFacade"
@@ -1445,6 +1472,16 @@
"condition":{"typeReachable":"org.apache.shardingsphere.infra.util.yaml.YamlEngine"},
"name":"org.apache.shardingsphere.encrypt.yaml.config.rule.YamlEncryptTableRuleConfigurationCustomizer"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.globalclock.distsql.parser.core.GlobalClockDistSQLLexer",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }]
+},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.globalclock.distsql.parser.core.GlobalClockDistSQLParser",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }]
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"},
"name":"org.apache.shardingsphere.globalclock.distsql.parser.facade.GlobalClockDistSQLParserFacade"
@@ -1604,6 +1641,10 @@
"condition":{"typeReachable":"org.apache.shardingsphere.infra.binder.context.segment.select.projection.extractor.ProjectionIdentifierExtractEngine"},
"name":"org.apache.shardingsphere.infra.binder.opengauss.OpenGaussProjectionIdentifierExtractor"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.infra.binder.context.segment.select.projection.extractor.ProjectionIdentifierExtractEngine"},
+ "name":"org.apache.shardingsphere.infra.binder.oracle.OracleProjectionIdentifierExtractor"
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.infra.binder.context.segment.select.projection.extractor.ProjectionIdentifierExtractEngine"},
"name":"org.apache.shardingsphere.infra.binder.postgresql.PostgreSQLProjectionIdentifierExtractor"
@@ -1704,6 +1745,18 @@
"condition":{"typeReachable":"org.apache.shardingsphere.infra.database.core.type.DatabaseTypeFactory"},
"name":"org.apache.shardingsphere.infra.database.opengauss.type.OpenGaussDatabaseType"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.infra.database.core.metadata.data.loader.MetaDataLoader"},
+ "name":"org.apache.shardingsphere.infra.database.oracle.metadata.data.loader.OracleMetaDataLoader"
+},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.infra.database.core.type.DatabaseTypeRegistry"},
+ "name":"org.apache.shardingsphere.infra.database.oracle.metadata.database.OracleDatabaseMetaData"
+},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.infra.database.core.type.DatabaseTypeFactory"},
+ "name":"org.apache.shardingsphere.infra.database.oracle.type.OracleDatabaseType"
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.transaction.xa.XAShardingSphereTransactionManager"},
"name":"org.apache.shardingsphere.infra.database.postgresql.checker.PostgreSQLDatabasePrivilegeChecker"
@@ -1835,6 +1888,10 @@
"condition":{"typeReachable":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheBuilder"},
"name":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.infra.rewrite.sql.token.common.generator.generic.RemoveTokenGenerator"},
+ "name":"org.apache.shardingsphere.infra.rewrite.mysql.MySQLToBeRemovedSegmentsProvider"
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.infra.url.core.ShardingSphereURLLoadEngine"},
"name":"org.apache.shardingsphere.infra.url.absolutepath.AbsolutePathURLLoader"
@@ -1930,7 +1987,7 @@
"methods":[{"name":"","parameterTypes":[] }, {"name":"setCaseSensitive","parameterTypes":["boolean"] }, {"name":"setDataType","parameterTypes":["int"] }, {"name":"setGenerated","parameterTypes":["boolean"] }, {"name":"setName","parameterTypes":["java.lang.String"] }, {"name":"setPrimaryKey","parameterTypes":["boolean"] }, {"name":"setUnsigned","parameterTypes":["boolean"] }, {"name":"setVisible","parameterTypes":["boolean"] }]
},
{
- "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistService"},
+ "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistEnabledService"},
"name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereColumn",
"allDeclaredFields":true,
"methods":[{"name":"","parameterTypes":[] }, {"name":"setCaseSensitive","parameterTypes":["boolean"] }, {"name":"setDataType","parameterTypes":["int"] }, {"name":"setGenerated","parameterTypes":["boolean"] }, {"name":"setName","parameterTypes":["java.lang.String"] }, {"name":"setNullable","parameterTypes":["boolean"] }, {"name":"setPrimaryKey","parameterTypes":["boolean"] }, {"name":"setUnsigned","parameterTypes":["boolean"] }, {"name":"setVisible","parameterTypes":["boolean"] }]
@@ -1947,7 +2004,7 @@
"methods":[{"name":"","parameterTypes":[] }, {"name":"setName","parameterTypes":["java.lang.String"] }]
},
{
- "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistService"},
+ "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistEnabledService"},
"name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereIndex",
"allDeclaredFields":true,
"methods":[{"name":"","parameterTypes":[] }, {"name":"setName","parameterTypes":["java.lang.String"] }, {"name":"setUnique","parameterTypes":["boolean"] }]
@@ -1973,7 +2030,7 @@
"name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereTable"
},
{
- "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistService"},
+ "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistEnabledService"},
"name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereTable",
"allDeclaredFields":true,
"methods":[{"name":"","parameterTypes":[] }, {"name":"getColumns","parameterTypes":[] }, {"name":"getConstraints","parameterTypes":[] }, {"name":"getIndexes","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"setColumns","parameterTypes":["java.util.Map"] }, {"name":"setIndexes","parameterTypes":["java.util.Map"] }, {"name":"setName","parameterTypes":["java.lang.String"] }, {"name":"setType","parameterTypes":["org.apache.shardingsphere.infra.database.core.metadata.database.enums.TableType"] }]
@@ -2096,6 +2153,16 @@
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"},
"name":"org.apache.shardingsphere.mask.distsql.handler.update.DropMaskRuleExecutor"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.mask.distsql.parser.core.MaskDistSQLLexer",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }]
+},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.mask.distsql.parser.core.MaskDistSQLParser",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }]
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"},
"name":"org.apache.shardingsphere.mask.distsql.parser.facade.MaskDistSQLParserFacade"
@@ -2225,6 +2292,10 @@
"condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.cluster.dispatch.listener.DataChangedEventListenerRegistry"},
"name":"org.apache.shardingsphere.mode.manager.cluster.dispatch.handler.global.state.StateChangedHandler"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.cluster.dispatch.listener.DataChangedEventListenerRegistry"},
+ "name":"org.apache.shardingsphere.mode.manager.cluster.dispatch.handler.global.state.coordinator.TableCoordinatorChangedHandler"
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.cluster.dispatch.listener.DataChangedEventListenerRegistry"},
"name":"org.apache.shardingsphere.mode.manager.cluster.dispatch.handler.global.statistics.StatisticsChangedHandler"
@@ -2350,7 +2421,7 @@
"fields":[{"name":"databaseName"}]
},
{
- "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistService"},
+ "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistEnabledService"},
"name":"org.apache.shardingsphere.mode.node.path.type.database.metadata.DatabaseMetaDataNodePath",
"fields":[{"name":"databaseName"}]
},
@@ -2415,7 +2486,7 @@
"fields":[{"name":"database"}, {"name":"schemaName"}]
},
{
- "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistService"},
+ "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistEnabledService"},
"name":"org.apache.shardingsphere.mode.node.path.type.database.metadata.schema.SchemaMetaDataNodePath",
"fields":[{"name":"database"}, {"name":"schemaName"}]
},
@@ -2440,7 +2511,7 @@
"fields":[{"name":"schema"}, {"name":"tableName"}]
},
{
- "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistService"},
+ "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.persist.metadata.service.TableMetaDataPersistEnabledService"},
"name":"org.apache.shardingsphere.mode.node.path.type.database.metadata.schema.TableMetaDataNodePath",
"fields":[{"name":"schema"}, {"name":"tableName"}]
},
@@ -2579,6 +2650,11 @@
"name":"org.apache.shardingsphere.mode.node.path.type.global.state.DatabaseListenerCoordinatorNodePath",
"fields":[{"name":"databaseName"}]
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.cluster.dispatch.listener.DataChangedEventListenerRegistry"},
+ "name":"org.apache.shardingsphere.mode.node.path.type.global.state.coordinator.TableCoordinatorNodePath",
+ "fields":[{"name":"qualifiedTableName"}]
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder"},
"name":"org.apache.shardingsphere.mode.repository.cluster.etcd.EtcdRepository",
@@ -2595,30 +2671,27 @@
"methods":[{"name":"","parameterTypes":[] }]
},
{
- "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource"},
+ "condition":{"typeReachable":"org.apache.shardingsphere.mode.repository.standalone.jdbc.sql.JDBCRepositorySQLLoader"},
"name":"org.apache.shardingsphere.mode.repository.standalone.jdbc.sql.JDBCRepositorySQL",
"allDeclaredFields":true,
"queryAllDeclaredMethods":true,
- "queryAllDeclaredConstructors":true
+ "queryAllDeclaredConstructors":true,
+ "methods":[{"name":"","parameterTypes":[] }]
},
{
"condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.StandaloneContextManagerBuilder"},
- "name":"org.apache.shardingsphere.mode.repository.standalone.jdbc.sql.JDBCRepositorySQL"
-},
-{
- "condition":{"typeReachable":"org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepository"},
- "name":"org.apache.shardingsphere.mode.repository.standalone.jdbc.sql.JDBCRepositorySQL"
+ "name":"org.apache.shardingsphere.mode.repository.standalone.memory.MemoryRepository",
+ "methods":[{"name":"","parameterTypes":[] }]
},
{
- "condition":{"typeReachable":"org.apache.shardingsphere.mode.repository.standalone.jdbc.sql.JDBCRepositorySQLLoader"},
- "name":"org.apache.shardingsphere.mode.repository.standalone.jdbc.sql.JDBCRepositorySQL",
- "methods":[{"name":"","parameterTypes":[] }]
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.parser.distsql.parser.core.SQLParserDistSQLLexer",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }]
},
{
- "condition":{"typeReachable":"org.apache.shardingsphere.proxy.initializer.BootstrapInitializer"},
- "name":"org.apache.shardingsphere.mode.repository.standalone.jdbc.sql.JDBCRepositorySQL",
- "queryAllDeclaredMethods":true,
- "queryAllDeclaredConstructors":true
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.parser.distsql.parser.core.SQLParserDistSQLParser",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }]
},
{
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"},
@@ -3222,6 +3295,14 @@
"condition":{"typeReachable":"org.apache.shardingsphere.infra.executor.audit.SQLAuditEngine"},
"name":"org.apache.shardingsphere.sharding.auditor.ShardingSQLAuditor"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.sharding.checker.sql.dml.ShardingTableSupportedChecker"},
+ "name":"org.apache.shardingsphere.sharding.check.mysql.MySQLUnsupportedShardingSQLStatementProvider"
+},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.sharding.checker.sql.dml.ShardingTableSupportedChecker"},
+ "name":"org.apache.shardingsphere.sharding.check.postgresql.PostgreSQLUnsupportedShardingSQLStatementProvider"
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.infra.spi.type.ordered.OrderedSPILoader"},
"name":"org.apache.shardingsphere.sharding.checker.config.ShardingRuleConfigurationChecker"
@@ -3532,6 +3613,16 @@
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"},
"name":"org.apache.shardingsphere.single.distsql.handler.update.UnloadSingleTableExecutor"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.single.distsql.parser.core.SingleDistSQLLexer",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }]
+},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.single.distsql.parser.core.SingleDistSQLParser",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }]
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"},
"name":"org.apache.shardingsphere.single.distsql.parser.facade.SingleDistSQLParserFacade"
@@ -3689,6 +3780,11 @@
"name":"org.apache.shardingsphere.sql.parser.opengauss.visitor.statement.type.OpenGaussDMLStatementVisitor",
"methods":[{"name":"","parameterTypes":[] }]
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.sql.parser.core.database.visitor.SQLStatementVisitorFactory"},
+ "name":"org.apache.shardingsphere.sql.parser.oracle.visitor.statement.OracleStatementVisitorFacade",
+ "methods":[{"name":"","parameterTypes":[] }]
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatement"},
"name":"org.apache.shardingsphere.sql.parser.postgresql.parser.PostgreSQLLexer",
@@ -3831,6 +3927,16 @@
"condition":{"typeReachable":"org.apache.shardingsphere.sqlfederation.compiler.sql.function.postgresql.PostgreSQLFunctionRegister"},
"name":"org.apache.shardingsphere.sqlfederation.compiler.sql.function.postgresql.impl.PostgreSQLSystemFunction"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.sqlfederation.distsql.parser.core.SQLFederationDistSQLLexer",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }]
+},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.sqlfederation.distsql.parser.core.SQLFederationDistSQLParser",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }]
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"},
"name":"org.apache.shardingsphere.sqlfederation.distsql.parser.facade.SQLFederationDistSQLParserFacade"
@@ -3896,6 +4002,16 @@
"condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource"},
"name":"org.apache.shardingsphere.sqlfederation.yaml.config.YamlSQLFederationRuleConfigurationCustomizer"
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.sqltranslator.distsql.parser.core.SQLTranslatorDistSQLLexer",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }]
+},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.sqltranslator.distsql.parser.core.SQLTranslatorDistSQLParser",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }]
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"},
"name":"org.apache.shardingsphere.sqltranslator.distsql.parser.facade.SQLTranslatorDistSQLParserFacade"
@@ -3988,6 +4104,16 @@
"name":"org.apache.shardingsphere.transaction.base.seata.at.SeataTransactionalSQLExecutionHook",
"methods":[{"name":"","parameterTypes":[] }]
},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.transaction.distsql.parser.core.TransactionDistSQLLexer",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }]
+},
+{
+ "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"},
+ "name":"org.apache.shardingsphere.transaction.distsql.parser.core.TransactionDistSQLParser",
+ "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }]
+},
{
"condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"},
"name":"org.apache.shardingsphere.transaction.distsql.parser.facade.TransactionDistSQLParserFacade"
diff --git a/pom.xml b/pom.xml
index 3746851c51b72..4a07456b5d015 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1151,6 +1151,20 @@
+
+
+ maven-jar-plugin
+ ${maven-jar-plugin.version}
+
+
+ jar-in-test-phase
+
+ jar
+
+ test
+
+
+
org.graalvm.buildtools
native-maven-plugin
diff --git a/test/native/pom.xml b/test/native/pom.xml
index 1fec81cd2d4d4..5686fd54ed958 100644
--- a/test/native/pom.xml
+++ b/test/native/pom.xml
@@ -33,167 +33,37 @@
${project.version}
test
-
-
org.apache.shardingsphere
shardingsphere-proxy-bootstrap
${project.version}
test
-
-
- org.apache.shardingsphere
- shardingsphere-proxy-dialect-postgresql
-
-
- org.apache.shardingsphere
- shardingsphere-proxy-dialect-mysql
-
-
- org.apache.shardingsphere
- shardingsphere-proxy-dialect-oracle
-
-
- org.apache.shardingsphere
- shardingsphere-proxy-dialect-sqlserver
-
-
- org.apache.shardingsphere
- shardingsphere-proxy-dialect-opengauss
-
-
-
-
- org.apache.shardingsphere
- shardingsphere-parser-sql-postgresql
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-infra-binder-postgresql
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-postgresql-protocol
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-proxy-frontend-postgresql
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-data-pipeline-postgresql
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-parser-sql-mysql
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-infra-binder-mysql
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-mysql-protocol
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-proxy-frontend-mysql
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-data-pipeline-mysql
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-parser-sql-sqlserver
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-infra-binder-sqlserver
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-parser-sql-opengauss
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-infra-binder-opengauss
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-opengauss-protocol
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-proxy-frontend-opengauss
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-data-pipeline-opengauss
- ${project.version}
- test
org.apache.shardingsphere
- shardingsphere-parser-sql-clickhouse
+ shardingsphere-jdbc-dialect-clickhouse
${project.version}
test
org.apache.shardingsphere
- shardingsphere-parser-sql-hive
+ shardingsphere-jdbc-dialect-hive
${project.version}
test
org.apache.shardingsphere
- shardingsphere-parser-sql-firebird
+ shardingsphere-jdbc-dialect-firebird
${project.version}
test
org.apache.shardingsphere
- shardingsphere-parser-sql-presto
+ shardingsphere-jdbc-dialect-presto
${project.version}
test
-
org.apache.shardingsphere
shardingsphere-cluster-mode-repository-zookeeper
@@ -206,24 +76,23 @@
${project.version}
test
-
org.apache.shardingsphere
- shardingsphere-broadcast-distsql-handler
+ shardingsphere-transaction-xa-core
${project.version}
- runtime
+ test
org.apache.shardingsphere
- shardingsphere-readwrite-splitting-distsql-handler
+ shardingsphere-transaction-xa-narayana
${project.version}
- runtime
+ test
org.apache.shardingsphere
- shardingsphere-shadow-distsql-handler
+ shardingsphere-transaction-base-seata-at
${project.version}
- runtime
+ test
@@ -232,18 +101,6 @@
${vertx.version}
test
-
- org.apache.shardingsphere
- shardingsphere-transaction-xa-core
- ${project.version}
- test
-
-
- org.apache.shardingsphere
- shardingsphere-transaction-xa-narayana
- ${project.version}
- test
-
org.jboss.narayana.jta
jta
@@ -268,12 +125,6 @@
${jboss-logging.version}
test
-
- org.apache.shardingsphere
- shardingsphere-transaction-base-seata-at
- ${project.version}
- test
-
org.apache.seata
seata-all
@@ -295,11 +146,6 @@
-
- org.awaitility
- awaitility
- test
-
com.mysql
mysql-connector-j
@@ -364,6 +210,12 @@
presto-jdbc
test
+
+
+ org.awaitility
+ awaitility
+ test
+
org.testcontainers
junit-jupiter
diff --git a/test/native/src/test/resources/META-INF/native-image/io.grpc/grpc-netty-shaded/native-image.properties b/test/native/src/test/resources/META-INF/native-image/io.grpc/grpc-netty-shaded/native-image.properties
deleted file mode 100644
index 871fc9a7b2145..0000000000000
--- a/test/native/src/test/resources/META-INF/native-image/io.grpc/grpc-netty-shaded/native-image.properties
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-# TODO This file exists to address https://github.com/oracle/graalvm-reachability-metadata/issues/377 .
-Args=--initialize-at-run-time=\
- io.grpc.netty.shaded.io.netty.channel.ChannelHandlerMask,\
- io.grpc.netty.shaded.io.netty.channel.nio.AbstractNioChannel,\
- io.grpc.netty.shaded.io.netty.channel.socket.nio.SelectorProviderUtil,\
- io.grpc.netty.shaded.io.netty.util.concurrent.DefaultPromise,\
- io.grpc.netty.shaded.io.netty.util.internal.MacAddressUtil,\
- io.grpc.netty.shaded.io.netty.util.internal.SystemPropertyUtil,\
- io.grpc.netty.shaded.io.netty.util.NetUtilInitializations,\
- io.grpc.netty.shaded.io.netty.channel.AbstractChannel,\
- io.grpc.netty.shaded.io.netty.util.NetUtil,\
- io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent,\
- io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0,\
- io.grpc.netty.shaded.io.netty.channel.DefaultChannelPipeline,\
- io.grpc.netty.shaded.io.netty.channel.DefaultChannelId,\
- io.grpc.netty.shaded.io.netty.util.ResourceLeakDetector,\
- io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext,\
- io.grpc.netty.shaded.io.netty.channel.ChannelOutboundBuffer,\
- io.grpc.netty.shaded.io.netty.util.internal.InternalThreadLocalMap,\
- io.grpc.netty.shaded.io.netty.util.internal.CleanerJava9,\
- io.grpc.netty.shaded.io.netty.util.internal.StringUtil,\
- io.grpc.netty.shaded.io.netty.util.internal.CleanerJava6,\
- io.grpc.netty.shaded.io.netty.buffer.ByteBufUtil$HexUtil,\
- io.grpc.netty.shaded.io.netty.buffer.AbstractByteBufAllocator,\
- io.grpc.netty.shaded.io.netty.util.concurrent.FastThreadLocalThread,\
- io.grpc.netty.shaded.io.netty.buffer.PoolArena,\
- io.grpc.netty.shaded.io.netty.buffer.EmptyByteBuf,\
- io.grpc.netty.shaded.io.netty.buffer.PoolThreadCache,\
- io.grpc.netty.shaded.io.netty.util.AttributeKey