[MDEV-31159] Wrong encoding produced by JSON_ARRAYAGG Created: 2023-05-01 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | JSON |
| Affects Version/s: | 10.11.2, 10.5, 10.6, 10.8, 10.9, 10.10, 10.11 |
| Fix Version/s: | 10.5, 10.6, 10.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lukas Eder | Assignee: | Alexey Botchkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Try this query:
It produces
So, when JSON is nested in JSON, then there's no encoding problem, but a string embedded directly into JSON_ARRAYAGG produces issues. |
| Comments |
| Comment by Lukas Eder [ 2023-05-01 ] | |||||||||||||||||
|
For the record:
Produces:
And
Produces
|