Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-1133

mcsapi string->decimal conversion corruption for long and negative data

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.2
    • 1.1.3
    • None
    • None
    • Debian 9
    • 2018-01, 2018-02, 2018-03

    Description

      Initializing a ColumnStoreDecimal with a too long String results in false values for Decimal columns.

      The same String inserted through SQL is inserted correctly.

      Example: "100000000.999999999000000000" for Decimal(18,9).

      Example Code attached.

      Attachments

        1. bulk_insert_decimal.cpp
          2 kB
          Jens Röwekamp
        2. bulk_insert_decimal.sql
          0.1 kB
          Jens Röwekamp
        3. dataconvert-decimal.cpp
          9 kB
          Jens Röwekamp

        Issue Links

          Activity

            People

              jens.rowekamp Jens Röwekamp (Inactive)
              jens.rowekamp Jens Röwekamp (Inactive)
              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.