Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
Description
MySQL 8.0 has JSON_ARRAYAGG and JSON_OBJECTAGG. These are also available in Oracle databases.
The JSON_ARRAYAGG in addition to the MySQL features supports the DISTINCT mode.
So the JSON_ARRAYAGG(DISTINCT expr) will only collect the unique values in the resulting array.
Attachments
Issue Links
- causes
-
MDEV-21410 Document JSON_ARRAYAGG and JSON_OBJECTAGG
- Closed
- relates to
-
MDEV-24784 JSON_ARRAYAGG charset issue
- Closed
-
MDEV-17397 Implement JSON functions available in MySQL 8.0 but not MariaDB
- Open
-
MDEV-21528 json_arrayagg crashes in Item_func_group_concat::add, Assertion `(ptr != __null && end >= ptr) || (ptr == __null && end == __null)' failed in copy_fields
- Closed
-
MDEV-21902 Nested JSON_ARRAYAGG in JSON_OBJECT should not get escaped
- Closed
-
MDEV-21914 JSON_ARRAYAGG doesn't reject ORDER BY clause, but doesn't work either
- Closed
-
MDEV-21915 Server crashes in copy_fields,Item_func_group_concat::add while using json_arrayagg() as a window function
- Closed
-
MDEV-22011 DISTINCT with JSON_ARRAYAGG gives wrong results
- Closed
-
MDEV-22084 Squared brackets missing from JSON_ARRAYAGG when used in a view
- Closed
-
MDEV-22837 JSON_ARRAYAGG and JSON_OBJECTAGG treat JSON arguments as text
- Closed
-
MDEV-26506 Over-quoted JSON when combining JSON_ARRAYAGG with JSON_OBJECT
- Closed
-
MDEV-30412 JSON_OBJECTAGG doesn't escape double quote in key
- Closed