[MCOL-5227] Implement JSON_ARRAYAGG Created: 2022-09-21 Updated: 2023-02-06 Resolved: 2022-12-05 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 22.08.1 |
| Fix Version/s: | 22.08.8 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Roman | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned for Review: | |
||||||||||||||||||||
| Description |
|
JSON_ARRAYAGG is the function which output and arguments are very similar to GROUP_CONCAT. |
| Comments |
| Comment by Roman [ 2022-10-31 ] | ||||||||||||||||||||||||||||
|
4QA There is one of three JSON_* functions left. For more information on how to test this plz take a look at MDB's JSON_ARRAYAGG page. | ||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2022-12-05 ] | ||||||||||||||||||||||||||||
|
Build verified: 23.02 engine: a1d89d8f311d8187d3357536a64d77ef6f9c2b8e MariaDB example:
MariaDB [mytest]> CREATE TABLE id_table (id int) engine=columnstore; MariaDB [mytest]> INSERT INTO id_table VALUES(624); MariaDB [mytest]> INSERT INTO id_table VALUES(null); MariaDB [mytest]> INSERT INTO id_table VALUES(925); MariaDB [mytest]> INSERT INTO id_table VALUES(585); MariaDB [mytest]> SELECT JSON_ARRAYAGG(id ORDER BY id) ID_NUMBERS FROM id_table;
---------------
---------------
|