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

json path regression

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Blocker
    • Resolution: Unresolved
    • 10.11, 11.4, 11.8, 12.2.2
    • 10.11, 11.4, 11.8, 12.3
    • JSON
    • built from source on linux.

    Description

      MariaDB 12.2.2-MariaDB> SELECT JSON_VALUE('{"a": 1}', '$.*');
      +-------------------------------+
      | JSON_VALUE('{"a": 1}', '$.*') |
      +-------------------------------+
      | NULL                          |
      +-------------------------------+
      1 row in set (0,01 sec)
      

      Used to be fine on 12.1.2:

      MariaDB 12.1.2-MariaDB> SELECT JSON_VALUE('{"a": 1}', '$.*');
      +-------------------------------+
      | JSON_VALUE('{"a": 1}', '$.*') |
      +-------------------------------+
      | 1                             |
      +-------------------------------+
      1 row in set (0,01 sec)
      

      I think there might be some more related JSON path incompatibilities.

      Attachments

        Issue Links

          Activity

            People

              rucha174 Rucha Deodhar
              Markus Winand Markus Winand
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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