fantacy2001
fantacy2001
> which column is the databases sharding key ? i have no column as sharding key. each database has different table name , i Force routing in my configuration Here...
> We are doing the subquery now, so I just pending this issue after we finish the subquery. pagehelper use subquery , when i upgrade to 4.0.0-release, this exception is...
> @fantacy2001 > Hi how about sharding rule configuration? only split db the commonDBShardingAlgorithm is mapping by tenant_id, like map.put("tenant_id","the suffix of dbname") map.put("CP0000028","1"); map.put("CP0000030","1");
> @geomonlin Hi, could you give this issue a simple test whether the SQL mentioned can run well in our `Sharding-example` project? this sql has modified: ON DUPLICATE KEY UPDATE...
> > > @geomonlin Hi, could you give this issue a simple test whether the SQL mentioned can run well in our `Sharding-example` project? > > > > > >...
> b.col is sharding key: > > > b.col = '123' However, by convention, two tables join, only the main table write value(a.col='123') in the where condition, The sub table...
> What is your sharding rule configuration? sharding rule: ```xml ``` in the db and table ShardingAlgorithm, i mapping the dbs and tables by columns 'col', like: ```java Map dbMap...
> When the shardingsphere route the sql, it does not find the table b's sharding key, so it will cause a full route. > To avoid it, you may add...
> @fantacy2001 The current route result is correct. What is your expected? i expected the sharding key in the condition 'on' after 'join', able to transmit sharding value in where...
> Can you use SQL to explain your expected behaviour? shardingsphere's route is no problem. i mean a convention is : ```sql select a.*,b.* from a left join b on...