tristaZero commented on issue #9634:
URL: https://github.com/apache/shardingsphere/issues/9634#issuecomment-804641477


   Hi, 
   ```xml
   bindingTables:
       - t_accountfriend
     defaultDatabaseStrategy:
       inline:
         shardingColumn: FFirstAccountID
         algorithmExpression: ds_${FFirstAccountID % 1000}
   ```
   Firstly, `bindingTables:` is incorrect since at least two tables are needed.
   Second, like @yanyzy said, `defaultDatabaseStrategy` will be applied to 
`t_accountfriend` in your case, as you ignore the specific `database strategy` 
for this table. I am curious my analysis is what you want?


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