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

Certain functions in projection and filtering fails in ColumnCommand::projectResultRG() with primMsg->NVALS != outMsg->NVALS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.1
    • Fix Version/s: 6.1.1
    • Component/s: PrimProc
    • Labels:
      None
    • Sprint:
      2021-2

      Description

      Consider the example:

      create table t3 ( CIDX INTEGER, CSMALLINT SMALLINT  )engine=columnstore;
      insert into t3 values (1,-43),(2,-45),(3,-46);
      ALTER TABLE t3 ADD COLUMN CUSMALLINT SMALLINT UNSIGNED;
      update t3 set cusmallint=csmallint+20000;
       
      MariaDB [tpch1]> select LEAST(CUSMALLINT,CSMALLINT) from t3;
      ERROR 1815 (HY000): Internal error: An unexpected condition within the query caused an internal processing error within Columnstore. Please check the log files for more details. Additional Information: error in BatchPrimitivePro
      MariaDB [tpch1]> 
      

      ColumnCommand::projectResultRG() detects that primMsg->NVALS != outMsg->NVALS and throws an exception.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dleeyh Daniel Lee
              Reporter:
              drrtuy Roman
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.