Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-16620

Add support for JSON_ARRAYAGG and JSON_OBJECTAGG

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Fix Version/s: 10.5.0
    • Component/s: JSON
    • Labels:
      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

            Activity

              People

              Assignee:
              holyfoot Alexey Botchkov
              Reporter:
              markus makela markus makela
              Votes:
              14 Vote for this issue
              Watchers:
              15 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: