[MDEV-27412] JSON_TABLE doesn't properly unquote strings Created: 2022-01-03 Updated: 2023-12-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | JSON |
| Affects Version/s: | 10.6.5 |
| Fix Version/s: | 10.6 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Louis Brauer | Assignee: | Rucha Deodhar |
| Resolution: | Unresolved | Votes: | 3 |
| Labels: | None | ||
| Environment: |
Ubuntu 20.04 |
||
| Issue Links: |
|
||||||||
| Description |
|
I have trouble with the `JSON_TABLE` function in *MariaDB 10.6.5*. This is my query:
What I get back is the XML string, but not properly unescaped:
When I use then `JSON_VALUE` instead:
then I get back the correctly unescaped string:
When I do the same on a MySQL *8.0.26* server, it works as expected:
It looks to me that this difference in behaviour is a bug in MariaDB's side. |
| Comments |
| Comment by Bernd Liebermann [ 2022-06-19 ] |
|
This issue is a show stopper for our project at the moment. I hope it gets addressed soon. |