[MDEV-32605] JSON_CONTAINS changes the JSON result Created: 2023-10-27 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | JSON |
| Affects Version/s: | 10.8.8 |
| Fix Version/s: | 10.11, 11.0, 11.1, 11.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marco Ripa | Assignee: | Rucha Deodhar |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | json | ||
| Environment: |
Debian 10 - 10.8.8-MariaDB-1:10.8.8+maria~deb10-log - mariadb.org binary distribution |
||
| Description |
|
JSON_CONTAINS somehow modifies the JSON_ARRAYAGG result, transforming an array to a bidimensional array:
All perfect, until we try to make a JSON_CONTAINS:
The array column in the resulting rows is become a bidimensional array. |