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

COLUMN_CREATE(name, value as DOUBLE) results in string

    Details

    • Type: Bug
    • Status: Confirmed
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.0.19
    • Fix Version/s: 10.0
    • Component/s: Dynamic Columns
    • Labels:
      None
    • Environment:
      Darwin yossy.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64

      Description

      SELECT COLUMN_JSON(
          COLUMN_CREATE(
              'one', 123.456,
              'two', 123.456 as DOUBLE
          )
      );
      

      results in

      {"one":123.456,"two":"123.46"}

      when I would expect

      {"one":123.456,"two":123.46}

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            Thanks for the report.

            Show
            elenst Elena Stepanova added a comment - Thanks for the report.

              People

              • Assignee:
                sanja Oleksandr Byelkin
                Reporter:
                thefsb Tom
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: