wzdlagrange edited a comment on issue #9294:
URL: https://github.com/apache/shardingsphere/issues/9294#issuecomment-773946888
> `Type` means this table is a single table, broadcast table, sharding table
or binding tables.
-----
//It does not have to be "contains()", it can also be "Pattern.matcher()"
if(SQLString.contains(shardedTableName)){
return doSharding();
}else{
return doDefault();
}
If sharding-jdbc do what I said, what's the bad effect?
----------------------------------
our project needs to sharding only one table, then we make the project
dependencys sharding-jdbc.
As a result, all SQL meet the requirements of sharding-jdbc.
to sharding one table , all SQL that contains subqurey need to be modified,
which is very expensive.
----------------------------------------------------------------
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]