sandynz commented on issue #14177: URL: https://github.com/apache/shardingsphere/issues/14177#issuecomment-1002999076
Hi @qianxuwanyu , could you try `metaData.getPrimaryKeys(connection.getCatalog(), connection.getSchema(), tableName)`? It should work, I've used it on similar scenario. You could refer to [PipelineTableMetaDataLoader.java]( https://github.com/apache/shardingsphere/blob/master/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/metadata/loader/PipelineTableMetaDataLoader.java ) -- 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]
