You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-11-03 17:13:17 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			481 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			481 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
#
 | 
						|
# Columnstore engine doesn't support Generated Columns
 | 
						|
# Author: Bharath, bharath.bokka@mariadb.com
 | 
						|
#
 | 
						|
-- source ../include/have_columnstore.inc
 | 
						|
 | 
						|
--disable_warnings
 | 
						|
DROP DATABASE IF EXISTS mcs75_db;
 | 
						|
--enable_warnings
 | 
						|
 | 
						|
CREATE DATABASE mcs75_db;
 | 
						|
USE mcs75_db;
 | 
						|
 | 
						|
--error ER_UNSUPPORTED_ENGINE_FOR_GENERATED_COLUMNS
 | 
						|
CREATE TABLE t1(col1 INT, col2 CHAR(10), col3 CHAR(10), col4 VARCHAR(20) GENERATED ALWAYS AS (CONCAT(col2,col3)))ENGINE=Columnstore;
 | 
						|
 | 
						|
# Clean UP
 | 
						|
DROP DATABASE mcs75_db;
 |