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

Add JSON_NORMALIZE function to normalize JSON values

Details

    Description

      Background is this question on stackexchange:

      https://dba.stackexchange.com/questions/208481/mariadb-compare-json

      The task is to provide a function that can be used to compare 2 json documents for equality, then name can be e.g JSON_NORMALIZE

      JSON_COMPACT already takes care of removing spaces, but this is not sufficient.
      Keys need to be (recursively) sorted , and if spaces are removed, then documents can be compared as binary strings.

      Attachments

        Issue Links

          Activity

            hollowman86 Hollow Man added a comment -

            Hi everyone, I want to work on this issue as a GSOC 21 participant, I have sent an email related to the issues explaining my ideas to the mail-list. Can anyone discuss with me about my ideas?

            hollowman86 Hollow Man added a comment - Hi everyone, I want to work on this issue as a GSOC 21 participant, I have sent an email related to the issues explaining my ideas to the mail-list. Can anyone discuss with me about my ideas?

            Hi hollowman86!

            You have some of my thoughts in a reply here:

            https://lists.launchpad.net/maria-developers/msg12629.html

            Note that Pandas doesn't do what this MDEV describes, but I think that it can give you some ideas about potential challenges when working with JSON.

            cvicentiu Vicențiu Ciorbaru added a comment - Hi hollowman86 ! You have some of my thoughts in a reply here: https://lists.launchpad.net/maria-developers/msg12629.html Note that Pandas doesn't do what this MDEV describes, but I think that it can give you some ideas about potential challenges when working with JSON.

            People

              cvicentiu Vicențiu Ciorbaru
              wlad Vladislav Vaintroub
              Votes:
              0 Vote for this issue
              Watchers:
              6 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.