[MDEV-24784] JSON_ARRAYAGG charset issue Created: 2021-02-04 Updated: 2023-11-19 Resolved: 2023-11-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets, JSON |
| Affects Version/s: | 10.5.8, 10.5 |
| Fix Version/s: | 10.5.24, 10.6.17, 10.11.7, 11.0.5, 11.1.4, 11.2.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Thomas K. | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 3 |
| Labels: | None | ||
| Environment: |
Ubuntu 18.04 LTS |
||
| Issue Links: |
|
||||||||
| Description |
|
JSON_ARRAYAGG() doesn't evaluate correct charset. reproduce:
|
| Comments |
| Comment by Alice Sherepa [ 2021-02-04 ] | ||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||
| Comment by Pavel Goran [ 2023-10-24 ] | ||||||||||||||||||||||||||||||
|
This bug makes JSON_ARRAYAGG pretty much unusable for working with string data. (It seems to work fine with data from JSON columns, though.) | ||||||||||||||||||||||||||||||
| Comment by Pavel Goran [ 2023-10-24 ] | ||||||||||||||||||||||||||||||
|
JSON_OBJECTAGG is apparently not affected by this bug. Which allows to use it as a partial work-around (with DISTINCT, ORDER BY and other JSON_OBJECTAGG's aggregation clauses unavailable):
|