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 2020/09/09 04:28:11 UTC

[GitHub] [shardingsphere] xbkaishui opened a new issue #7342: Proxy show tables command can't show unConfigured table

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:
users@infra.apache.org



[GitHub] [shardingsphere] xbkaishui commented on issue #7342: Proxy show tables command can't show unConfigured table

Posted by GitBox <gi...@apache.org>.
xbkaishui commented on issue #7342:
URL: https://github.com/apache/shardingsphere/issues/7342#issuecomment-696560997


   :beers:
   


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



[GitHub] [shardingsphere] kimmking closed issue #7342: Proxy show tables command can't show unConfigured table

Posted by GitBox <gi...@apache.org>.
kimmking closed issue #7342:
URL: https://github.com/apache/shardingsphere/issues/7342


   


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



[GitHub] [shardingsphere] tristaZero commented on issue #7342: Proxy show tables command can't show unConfigured table

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #7342:
URL: https://github.com/apache/shardingsphere/issues/7342#issuecomment-693151027


   @xbkaishui Hi this bug has been fixed, which will help us test the metadata loading function.
   
   Best,
   Trista


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



[GitHub] [shardingsphere] tristaZero commented on issue #7342: Proxy show tables command can't show unConfigured table

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #7342:
URL: https://github.com/apache/shardingsphere/issues/7342#issuecomment-696558944


   @xbkaishui Oh, your valuable feedback moves the 5x. release forward!


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



[GitHub] [shardingsphere] tristaZero commented on issue #7342: Proxy show tables command can't show unConfigured table

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #7342:
URL: https://github.com/apache/shardingsphere/issues/7342#issuecomment-696558944


   @xbkaishui Oh, your valuable feedback moves the 5x. release forward!


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



[GitHub] [shardingsphere] xbkaishui commented on issue #7342: Proxy show tables command can't show unConfigured table

Posted by GitBox <gi...@apache.org>.
xbkaishui commented on issue #7342:
URL: https://github.com/apache/shardingsphere/issues/7342#issuecomment-696542434






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



[GitHub] [shardingsphere] xbkaishui commented on issue #7342: Proxy show tables command can't show unConfigured table

Posted by GitBox <gi...@apache.org>.
xbkaishui commented on issue #7342:
URL: https://github.com/apache/shardingsphere/issues/7342#issuecomment-696542434


   Yes, already checked. it is ok now, below is the example output 
   
   ```
   | t_address            |
   | t_order              |
   | t_order_item         |
   | t_user_third_account |
   ```


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