Details
-
Bug
-
Status: In Review (View Workflow)
-
Major
-
Resolution: Unresolved
-
13.1
Description
Hi,
I found that JSON_CONTAINS and JSON_EQUALS do not compare strings based on string semantics. This is an example:
SELECT JSON_CONTAINS('"A"', '"\\u0041"'); -- 0 |
SELECT JSON_CONTAINS('"\\u0041"', '"A"'); -- 0 |
SELECT JSON_OVERLAPS('"A"', '"\\u0041"'); -- 0 |
SELECT JSON_EQUALS('"A"', '"\\u0041"'); -- 0 |
SELECT JSON_UNQUOTE('"A"') = JSON_UNQUOTE('"\\u0041"'); -- 1 |