tuichenchuxin opened a new issue #11683: URL: https://github.com/apache/shardingsphere/issues/11683
## Feature Request ### Is your feature request related to a problem? No, just optimize code readability. ### Describe the feature you would like. In build method ```Map<TableMetaData, TableMetaData> tableMetaData = SchemaBuilder.build(new SchemaBuilderMaterials(databaseType, dataSourceMap, rules, props));``` SchemaBuilder build a map with same key and value. The value is decorated by the key under certain conditions. Both keyset and valueset are used in different places in the build method. I suggest disassembling tableMetaData. The SchemaBuilder.build method should return a Schema object. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
