zy1263188600 commented on issue #24648:
URL: 
https://github.com/apache/shardingsphere/issues/24648#issuecomment-1473391075

   1、Perhaps routing DataSource is passed into doSharding() as an input 
parameter, providing space for optimization using the 
ComplexKeysShardingAlgorithm custom algorithm
   2、Reconstruct the input parameter Collection<String>availableTargetTables of 
doSharding() to include data source information, such as:
   ```java
   doSharding(Collection<AvailableTargetTable> availableTargetTables)
   ```
   ```java
   public class AvailableTargetTable {
       String dataBase;
       Collection<String> availableTargetTables;
   }
   ```


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

Reply via email to