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 
			
		
		
		
	* 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>
		
			
				
	
	
		
			17 lines
		
	
	
		
			318 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			318 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
USE tpch1;
 | 
						|
select avg(if(n_regionkey>0, n_nationkey, NULL)) from nation;
 | 
						|
avg(if(n_regionkey>0, n_nationkey, NULL))
 | 
						|
12.5000
 | 
						|
select r_regionkey as r, NULL as n from region union select r_regionkey, r_name from region order by 1, 2;
 | 
						|
r	n
 | 
						|
0	NULL
 | 
						|
0	AFRICA
 | 
						|
1	NULL
 | 
						|
1	AMERICA
 | 
						|
2	NULL
 | 
						|
2	ASIA
 | 
						|
3	NULL
 | 
						|
3	EUROPE
 | 
						|
4	NULL
 | 
						|
4	MIDDLE EAST
 |