Pace2Car opened a new issue, #25722: URL: https://github.com/apache/shardingsphere/issues/25722
## 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? master 955ea40a41f083529ce2b98cd239a16d984ffe4a ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy? ShardingSphere-Proxy with PostgreSQL, Cluster mode , and found the same in Standalone mode ### Expected behavior Get logical table list ### Actual behavior I created the sharding rules and tables. When using \d to get the list of tables, I still get the list of physical tables. <img width="621" alt="image" src="https://github.com/apache/shardingsphere/assets/37339007/38d13494-2da6-4a5c-a1ef-89c75175ffcc"> Only logical tables can be found in the metadata of the governance center <img width="659" alt="image" src="https://github.com/apache/shardingsphere/assets/37339007/304810d7-34d7-40f4-904c-768f48334250"> ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc. Cluster mode with: ```yaml databaseName: sharding_db dataSources: ds_0: url: jdbc:postgresql://127.0.0.1:5432/demo_ds username: postgres password: postgres connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 50 minPoolSize: 1 ``` excute in psql client ```sql CREATE SHARDING TABLE RULE t_test ( STORAGE_UNITS(ds_0), SHARDING_COLUMN=order_id, TYPE(NAME="hash_mod",PROPERTIES("sharding-count"="4")), KEY_GENERATE_STRATEGY(COLUMN=order_id,TYPE(NAME="snowflake")) ); CREATE TABLE t_test ( order_id int NOT NULL, user_id int NOT NULL, status varchar(45) DEFAULT NULL, PRIMARY KEY (order_id) ); \d ``` -- 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]
