zundaren opened a new issue #6805:
URL: https://github.com/apache/shardingsphere/issues/6805


   I just want to sub-database and use hint strategy, but the configuration 
file needs to configure sub-table, which is not logical
   
---------------------------------------------------------------------------------------------------------
   
   spring.shardingsphere.sharding.tables.item.actual-data-nodes=ds${0..1}.item
   
spring.shardingsphere.sharding.tables.item.table-strategy.hint.algorithm-class-name=com.shardingdemo.config.HintShardingKeyAlgorithm
   
spring.shardingsphere.sharding.tables.item.database-strategy.hint.algorithm-class-name=com.shardingdemo.config.HintShardingKeyAlgorithm
   
--------------------------------------------------------------------------------------------------------
   
   For example, I use the item table to insert, and the hint strategy uses 
ShardingStandardRoutingEngine, but I want to use a table that is not configured 
in the configuration file, such as the user table, to route to 
ShardingUnicastRoutingEngine. That is to say, there are hundreds of tables in a 
database on my side, and I want to configure Only a few hundred tables 
configuration can use the hint mode, which is completely inappropriate
   


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