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

No data type JSON, but CAST(something AS JSON) pretends to work

Details

    Description

      MariaDB [test]> SELECT CAST('foo' AS JSON);
      +---------------------+
      | CAST('foo' AS JSON) |
      +---------------------+
      | foo                 |
      +---------------------+
      1 row in set (0.00 sec)
      

      I don't think it makes any sense. We don't even have format JSON, how can we pretend we can CAST to it? And it's not even a valid JSON text.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Alexey Botchkov made transition -
            Open Closed
            11d 11h 40m 1
            Elena Stepanova made transition -
            Closed Stalled
            1h 45m 1
            Alexey Botchkov made transition -
            Stalled In Progress
            59d 49m 1
            Alexey Botchkov made transition -
            In Progress Closed
            3d 23h 10m 1

            People

              holyfoot Alexey Botchkov
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.