You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-10-31 18:30:33 +03:00 
			
		
		
		
	* Restructured test suites and added autopilot and extended suites * Updated autopilot with correct branch - develop * Moved setup test case to a 'setup' directory, for consistency * Fixed a path issue * Updated some tests cases to keep up with development Co-authored-by: root <root@rocky8.localdomain>
		
			
				
	
	
		
			14 lines
		
	
	
		
			505 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			505 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| USE tpch1;
 | |
| CREATE TABLE IF NOT EXISTS mcol1662 (a int, b varchar(200)) engine=columnstore;
 | |
| CREATE TABLE IF NOT EXISTS mcol1662_source (a int, b varchar(200));
 | |
| INSERT INTO mcol1662_source VALUES (1, 'hello');
 | |
| SET columnstore_use_import_for_batchinsert=0;
 | |
| INSERT INTO mcol1662 SELECT * FROM mcol1662_source;
 | |
| UPDATE mcol1662 SET a = 1, b = 'Hello' WHERE a = 1 and b = 'hello';
 | |
| SELECT * FROM mcol1662;
 | |
| a	b
 | |
| 1	Hello
 | |
| SET columnstore_use_import_for_batchinsert=1;
 | |
| DROP TABLE mcol1662_source;
 | |
| DROP TABLE mcol1662;
 |