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

Json Range not work wirh JSON_REMOVE

    XMLWordPrintable

Details

    Description

      to reproduce:

      DROP TABLE t3;
       
      CREATE TABLE t3 (
       
        j JSON 
       
      );
       
       
       
      INSERT INTO t3 (j) VALUES ('[{"id": 1, "name": "Monty"},{"id": 2, "name": "Widenius"},{"id": 3, "name": "Michael"}]');
       
      INSERT INTO t3 (j) VALUES ('[{"id": 1, "name": "Monty"},{"id": 2, "name": "Widenius"},{"id": 3, "name": "Michael"}]');
       
       
       
      SELECT JSON_REMOVE(j, '$[0 to 1]')  FROM t
      

      Result
      (NULL)
      (NULL)

      Attachments

        Activity

          People

            greenman Ian Gilfillan
            Richard Richard Stracke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 0.5h
                0.5h

                Git Integration

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