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

Garbage result of a union between huge narrow DECIMAL and BIGINT

Details

    • 2021-7

    Description

      This ticket is for 5.6.1 only. Testing in 6.1.1 will need to wait until MCOL-4612 is MERGED into develop branch

      DROP TABLE IF EXISTS t1;
      CREATE TABLE t1 (a DECIMAL(17,1), b BIGINT) ENGINE=ColumnStore;
      INSERT INTO t1 VALUES (9999999999999999.9, 999999999999999999);
      SELECT * FROM (SELECT a FROM t1 UNION SELECT b FROM t1) tu;
      

      +-----------------------+
      | a                     |
      +-----------------------+
      |    9999999999999999.9 |
      | -844674407370955162.6 |
      +-----------------------+
      

      Looks wrong.

      Note, the problem cannot be repeated in 6.x because of MCOL-4612
      But perhaps it still exists. MCOL-4612 needs to be fixed first to verify it further in 6.x.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Gagan Goel (Inactive) made transition -
            Open In Progress
            38d 6h 1m 1
            Gagan Goel (Inactive) made transition -
            In Progress In Review
            3d 2h 14m 1
            Alexander Barkov made transition -
            In Review Stalled
            2d 23h 54m 1
            Gagan Goel (Inactive) made transition -
            Stalled In Progress
            7m 31s 1
            Gagan Goel (Inactive) made transition -
            In Progress In Testing
            7s 1
            Daniel Lee (Inactive) made transition -
            In Testing Closed
            4h 20m 1

            People

              dleeyh Daniel Lee (Inactive)
              bar Alexander Barkov
              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.