Details
- 
    
Bug
 - 
    Status: Closed (View Workflow)
 - 
    
Major
 - 
    Resolution: Fixed
 - 
    6.1.1
 - 
    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
- relates to
 - 
                    
MCOL-4188 Verify the whole Full DECIMAL patch against regression test suite and fix issues found.
-         
 - Closed
 
 -