You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/03/17 04:03:50 UTC

[GitHub] [shardingsphere] linchers commented on issue #6693: information_schema and sys relevant SQLs can't parse or route

linchers commented on issue #6693:
URL: https://github.com/apache/shardingsphere/issues/6693#issuecomment-800776951


   org.apache.shardingsphere.sharding.route.engine.type.unconfigured.ShardingUnconfiguredTablesRoutingEngine#findDataSourceName
    `    private Optional<String> findDataSourceName() {
           for (Entry<String, Collection<String>> entry : unconfiguredSchemaMetaDataMap.entrySet()) {
               if (entry.getValue().containsAll(logicTables)) {
                   return Optional.of(entry.getKey());
               }
           }
           return Optional.empty();
       }`
   
   entry.getValue() tablenames is  upcase  but logicTables is  lowercase


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org