shardingsphere icon indicating copy to clipboard operation
shardingsphere copied to clipboard

Does ShardingScaling still need to support the MySQL JSON and BIT data type?

Open KomachiSion opened this issue 6 years ago • 3 comments

When I handle #4594 , I found ShardingScaling support JSON data type. But I can't find any information about JSON type replication or binlog in MySQL Internals Manual. I also search in MariaDB document, but no information too.

There is only a MySQL source code about JSON, but it seems be the decode and encode way between JSON and binary.

So should we still need to support the MySQL JSON data type in ShardingScaling? Or Where we can get more reliable information about this data type?

KomachiSion avatar Mar 17 '20 06:03 KomachiSion

Maybe low priority for json type

terrymanu avatar Mar 26 '20 09:03 terrymanu

Other type I find is similar to JSON type -- BIT. In mysql, BIT type can follow a length like bit(n) to set the storage way. And it will be different in binlog. But I do not find any description in mysql and MariaDB document.

Currently, scaling will throw a log to warn users BIT type is unsupported.

KomachiSion avatar Apr 07 '20 01:04 KomachiSion

Currently, master version have been supported MySQL JSON and BIT data type, and I validate it. So this issue can be closed.

Lucas-307 avatar Jul 28 '20 06:07 Lucas-307