This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 89463e42e01 Refactor SchemaMetaDataUtils (#32663)
89463e42e01 is described below
commit 89463e42e010d1b3c117129372149a878c203ec9
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Aug 25 00:23:57 2024 +0800
Refactor SchemaMetaDataUtils (#32663)
---
.../infra/metadata/database/schema/util/SchemaMetaDataUtils.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/util/SchemaMetaDataUtils.java
b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/util/SchemaMetaDataUtils.java
index 245fce61f15..6ece5da5110 100644
---
a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/util/SchemaMetaDataUtils.java
+++
b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/util/SchemaMetaDataUtils.java
@@ -51,8 +51,7 @@ public final class SchemaMetaDataUtils {
* @param checkMetaDataEnable check meta data enable config
* @return meta data loader materials
*/
- public static Collection<MetaDataLoaderMaterial>
getMetaDataLoaderMaterials(final Collection<String> tableNames,
-
final GenericSchemaBuilderMaterial material, final boolean
checkMetaDataEnable) {
+ public static Collection<MetaDataLoaderMaterial>
getMetaDataLoaderMaterials(final Collection<String> tableNames, final
GenericSchemaBuilderMaterial material, final boolean checkMetaDataEnable) {
Map<String, Collection<String>> dataSourceTableGroups = new
LinkedHashMap<>();
Collection<DatabaseType>
unsupportedThreeTierStorageStructureDatabaseTypes =
getUnsupportedThreeTierStorageStructureDatabaseTypes(material.getStorageTypes().values());
DataNodes dataNodes = new DataNodes(material.getRules());