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

REGR_R2() results differ when compared to Innodb

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 5.5.1
    • Icebox
    • None
    • None

    Description

      Artifacts: https://cspkg.s3.amazonaws.com/index.html?prefix=develop-1.5/cron/1233/centos7/

      Columnstore:

      CREATE TABLE t1 (x INT, y MEDIUMINT)ENGINE=Columnstore;
      INSERT INTO t1 VALUES (20, 1),(39, 2),(48, 3),(57, 4),(66, 5),(75, 6),(84, 7);
      SELECT REGR_R2(y, x) FROM t1;
      +--------------------+
      | REGR_R2(y, x)      |
      +--------------------+
      | 0.9814869668246446 |
      +--------------------+
      

      Innodb:

      DROP TABLE IF EXISTS t1;
      CREATE TABLE t1 (x INT, y MEDIUMINT);
      INSERT INTO t1 VALUES (20, 1),(39, 2),(48, 3),(57, 4),(66, 5),(75, 6),(84, 7);
      SELECT REGR_R2(y, x) FROM t1;
      +--------------------+
      | REGR_R2(y, x)      |
      +--------------------+
      | 0.9814869668246445 |
      +--------------------+
      

      The same matches with Innodb results for builds under develop branch-
      https://cspkg.s3.amazonaws.com/index.html?prefix=develop/cron/1232

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bharath.bokka Bharath Bokka (Inactive)
              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.