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>
		
			
				
	
	
		
			26 lines
		
	
	
		
			646 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			646 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #
 | |
| # Test case migrated from regression test suite:
 | |
| # ./mysql/queries/nightly/alltest/test002/q5.2.1.sql
 | |
| #
 | |
| # Author: Susil, susil.behera@mariadb.com
 | |
| #
 | |
| 
 | |
| -- source ../include/have_columnstore.inc
 | |
| 
 | |
| USE tpch1;
 | |
| 
 | |
| # Reworked to use lineitem instead of demographics200.
 | |
| select  n_name, sum(l_quantity), sum(l_extendedprice),
 | |
|         max(l_quantity),
 | |
|         sum(l_partkey),
 | |
|         avg(l_suppkey),
 | |
|         min(l_extendedprice),
 | |
|         max(l_discount),
 | |
|         count(l_shipdate),
 | |
|         avg(l_tax)
 | |
| from nation, lineitem
 | |
| where l_suppkey between 10 and 70
 | |
|         and n_regionkey = 1
 | |
|         and n_nationkey = l_linenumber
 | |
| group by n_name order by n_name;
 |