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

MCS must be able to join decimal fields with a different scale.

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 6.1.1
    • Icebox
    • None
    • None

    Description

      Consider the example:

       

      MariaDB [test]> CREATE TABLE cs1 (d1 DECIMAL(38))engine=Columnstore;
      Query OK, 0 rows affected (0.388 sec)

      MariaDB [test]> CREATE TABLE cs2 (de1 DECIMAL(38,1))engine=Columnstore;
      Query OK, 0 rows affected (0.376 sec)

      MariaDB [test]> SELECT cs2.de1, cs1.d1 FROM cs1 INNER JOIN cs2 ON cs1.d1 = cs2.de1 ORDER BY 1;
      ERROR 1815 (HY000): Internal error: IDB-1002: 'cs1' and 'cs2' have incompatible column type specified for join condition.
      }
      MDB is able to join using columns with unequal scales.

      Attachments

        Activity

          People

            Unassigned Unassigned
            drrtuy Roman
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.