sandynz opened a new pull request #15161: URL: https://github.com/apache/shardingsphere/pull/15161
Currently, there're 3 metadata loader impl in scaling: - `PipelineMetaDataManager` : use underlying `TableMetaDataLoaderEngine`, `ColumnMetaData` just includes `dataType`, without `dataTypeName`, it could not resolve #10314. It's used in PostgreSQL and openGauss incremental dumper. - `MySQLColumnMetaDataLoader` : use raw jdbc; added to resolve #10314. Metadata structure is different with underlying `TableMetaData`. It's used in MySQL incremental dumper. - `PipelineTableMetaDataLoader` : use raw jdbc; added recently, reference much metadata loader impls, compatible with more scenarios (e.g. tableNamePattern; duplicated column names). It's used in data consistency check for now (on ShardingSphereDataSource). A unified metadata loader impl will be used to refactor scaling job context and incremental dumper, it also benifit to resolve similar issue as #10314 for PostgreSQL and openGauss. Changes proposed in this pull request: - Add dataTypeName in column metadata; Refactor PipelineTableMetaDataLoader; Prepare for the unified impl - Replace PipelineMetaDataManager - Replace MySQLColumnMetaDataLoader -- 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: notifications-unsubscr...@shardingsphere.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org