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>
		
			
				
	
	
		
			39 lines
		
	
	
		
			732 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			732 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # -------------------------------------------------------------- #
 | |
| # Test case migrated from regression test suite: bug5976.sql
 | |
| #
 | |
| # Author: Daniel Lee, daniel.lee@mariadb.com
 | |
| # -------------------------------------------------------------- #
 | |
| #
 | |
| --source ../include/have_columnstore.inc
 | |
| #
 | |
| USE tpch1;
 | |
| #
 | |
| select test 
 | |
| from (
 | |
|   select 1 test
 | |
|   union all
 | |
|   select count(1) test from region
 | |
| ) checks
 | |
| where test <> 0 order by 1;
 | |
| 
 | |
| select test
 | |
| from (
 | |
|   select abs(r_regionkey) test from region
 | |
|   union all
 | |
|   select count(1) test from region
 | |
| ) checks
 | |
| where test <> 0 order by 1;
 | |
| 
 | |
| select test
 | |
| from (
 | |
|   select 1 test
 | |
|   union all
 | |
|   select r_regionkey from region
 | |
|   union
 | |
|   select count(1) test from region
 | |
| ) checks
 | |
| where test <> 0 order by 1;
 | |
| 
 | |
| #
 | |
| 
 |