chrissata opened a new issue #6224:
URL: https://github.com/apache/shardingsphere/issues/6224


   ## Bug Report
   
   **For English only**, other languages will not accept.
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub 
issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere 
Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more 
details. 
   If no response anymore and we cannot reproduce it on current information, we 
will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   4.1.0
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-Proxy
   
   ### Expected behavior
   desc table run well.
   
   mysql> desc test;
   +------------+-------------+------+-----+---------+----------------+
   | Field      | Type        | Null | Key | Default | Extra          |
   +------------+-------------+------+-----+---------+----------------+
   | id         | bigint      | NO   | PRI | NULL    | auto_increment |
   | media_type | varchar(32) | NO   |     | NULL    |                |
   | media_id   | bigint      | NO   |     | NULL    |                |
   +------------+-------------+------+-----+---------+----------------+
   3 rows in set (0.03 sec)
   
   ### Actual behavior
   mysql> desc test;
   ERROR 1146 (42S02): Table 'base02.test_0' doesn't exist
   mysql> desc test;
   ERROR 1146 (42S02): Table 'base02.test_0' doesn't exist
   mysql> desc test;
   +------------+-------------+------+-----+---------+----------------+
   | Field      | Type        | Null | Key | Default | Extra          |
   +------------+-------------+------+-----+---------+----------------+
   | id         | bigint      | NO   | PRI | NULL    | auto_increment |
   | media_type | varchar(32) | NO   |     | NULL    |                |
   | media_id   | bigint      | NO   |     | NULL    |                |
   +------------+-------------+------+-----+---------+----------------+
   3 rows in set (0.03 sec)
   ### Reason analyze (If you can)
   For those DAL SQL, route engine find target error: always use the the first 
test_0 to query.
   
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule 
configuration, when exception occur etc.
   
       test:
         actualDataNodes: ds0.test_0, ds1.test_1
   
   
   ### Example codes for reproduce this issue (such as a github link).
   just do desc table. 
   


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


Reply via email to