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

Add support for JSON_ARRAYAGG and JSON_OBJECTAGG

Details

    • Task
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.5.0
    • JSON
    • 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

            Just for the record, they're in the standard too

            serg Sergei Golubchik added a comment - Just for the record, they're in the standard too

            Last update: "this one is in fact closed. Only need to make decision about the documentation." Should be done this week.

            julien.fritsch Julien Fritsch added a comment - Last update: "this one is in fact closed. Only need to make decision about the documentation." Should be done this week.

            What's the state of this development? Did you manage to make the appropriate decisions about the documentation?

            johann Johann Pardanaud added a comment - What's the state of this development? Did you manage to make the appropriate decisions about the documentation?

            already done. pushed and released. Not documented yet, it's MDEV-21410

            serg Sergei Golubchik added a comment - already done. pushed and released. Not documented yet, it's MDEV-21410

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.