shardingsphere icon indicating copy to clipboard operation
shardingsphere copied to clipboard

I suggest that sharding-proxy supports appoint divided items by "create table"

Open nevereverever opened this issue 6 years ago • 3 comments

version:4.0.0

such as

create table test ( a int, b int, c char(20)) shardkey=a,shardingType=standard,shardingClass=xxx.xxx.xxx;

Will be a bright future.

nevereverever avatar Mar 05 '20 01:03 nevereverever

Now it can create all sharding tables according to your rules. Examples:

sharding in test{0..2}

Executing by your code:

create table test ....

Executing by shardingsphere:

create table test0 .... create table test1 .... create table test2 ....

If you consider shardingClass syntax is helpful, you can try a go to submit a pull-request.

kimmking avatar Mar 05 '20 12:03 kimmking

@nevereverever should we close this issue?

kimmking avatar Mar 10 '20 01:03 kimmking

I know what you mean. I'm familiar with this. Ok.I close it.

nevereverever avatar Mar 11 '20 08:03 nevereverever