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

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 6.1.1
    • 6.1.1
    • PrimProc
    • None
    • 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

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