lanrenbulan commented on issue #21437:
URL:
https://github.com/apache/shardingsphere/issues/21437#issuecomment-1283324693
@strongduanmu I tested proxy5.2.1, but it still doesn't work. It queries all.
I tested proxy5.2.1, but it still doesn't work. It uses the first source.
```
rules:
- !SHARDING
tables:
user:
actualDataNodes: tenant_db_${1..2}.user
```
[INFO ] 2022-10-19 10:40:19.102 [Connection-3-ThreadExecutor]
ShardingSphere-SQL - Actual SQL: tenant_db_1 ::: /* SHARDINGSPHERE_HINT:
SHARDING_DATABASE_VALUE=2 */select * FROM user;
[INFO ] 2022-10-19 10:40:19.102 [Connection-3-ThreadExecutor]
ShardingSphere-SQL - Actual SQL: tenant_db_2 ::: /* SHARDINGSPHERE_HINT:
SHARDING_DATABASE_VALUE=2 */select * FROM user;
--
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]