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>
		
			
				
	
	
		
			25 lines
		
	
	
		
			723 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			723 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # -------------------------------------------------------------- #
 | |
| # Test case migrated from regression test suite: bug3067.sql
 | |
| #
 | |
| # Author: Daniel Lee, daniel.lee@mariadb.com
 | |
| # -------------------------------------------------------------- #
 | |
| #
 | |
| --source ../include/have_columnstore.inc
 | |
| #
 | |
| USE ssb1;
 | |
| #
 | |
| 
 | |
| select * from (
 | |
|      select F, count(*) from (select count(*) F from lineorder where
 | |
|      lo_orderdate between 19940101 and 19940110 and lo_quantity <= 20 
 | |
| group
 | |
|      by lo_quantity ) a group by F union all
 | |
|      select F, count(*) from (select count(*) F from lineorder where
 | |
|      lo_orderdate between 19940101 and 19940110 and lo_quantity between 21 and 40 
 | |
| group
 | |
|      by lo_quantity ) a group by F) a 
 | |
| order by 1, 2;
 | |
| 
 | |
| #
 | |
| 
 |