You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In MySQL 5.7, creating a json key from the blob value will give an error:
create table t (s varchar(255), b blob);
insert into t values ("a string", X'ABCD');
insert into t values ("b string", X'DCBA');
select json_objectagg(b,s) from t;
Will give an error: ERROR 3144 (22032): Cannot create a JSON value from a string with CHARACTER SET 'binary'..
In TiDB, it will give: {"\ufffd\ufffd": "a string", "ܺ": "b string"}
The text was updated successfully, but these errors were encountered:
Enhancement
In MySQL 5.7, creating a json key from the blob value will give an error:
Will give an error:
ERROR 3144 (22032): Cannot create a JSON value from a string with CHARACTER SET 'binary'.
.In TiDB, it will give:
{"\ufffd\ufffd": "a string", "ܺ": "b string"}
The text was updated successfully, but these errors were encountered: