RaigorJiang commented on issue #17076:
URL:
https://github.com/apache/shardingsphere/issues/17076#issuecomment-1410262552
Now the code of 5.3.1 is as follows, it may need to be verified:
```java
private Map<String, String> findTableNameFromMetaData(final
Collection<String> noOwnerColumnNames, final ShardingSphereSchema schema) {
if (noOwnerColumnNames.isEmpty()) {
return Collections.emptyMap();
}
Map<String, String> result = new
LinkedHashMap<>(noOwnerColumnNames.size(), 1);
for (SimpleTableSegment each : tables) {
String tableName =
each.getTableName().getIdentifier().getValue();
for (String columnName : schema.getAllColumnNames(tableName)) {
if (noOwnerColumnNames.contains(columnName)) {
result.put(columnName, tableName);
}
}
}
return result;
}
```
--
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]