xbkaishui opened a new issue #7342:
URL: https://github.com/apache/shardingsphere/issues/7342


   ## Bug Report
   When use show tables command in ShardingSphere-Proxy (using sharding 
database feature)
   It only show configured table, skiped the unconfigured table
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   5.0.0-RC1-SNAPSHOT
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-Proxy using sharding feature
   ### Expected behavior
   show all the tables in current sharding db
   ### Actual behavior
   show only configuration table
   
   ## Reason analyze (If you can)
   I found the bug maybe in 
   LogicTablesMergedResult.java 
   Line 56: 
   ```
    if (shardingRule.getTableRules().isEmpty() || 
schemaMetaData.containsTable(actualTableName) && 
tableNames.add(actualTableName)) {
      result.add(memoryResultSetRow);
     }
   ```


----------------------------------------------------------------
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:
[email protected]


Reply via email to