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 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			891 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			891 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # -------------------------------------------------------------- #
 | |
| # Test case migrated from regression test suite: MCOL-1829.sql
 | |
| #
 | |
| # Author: Daniel Lee, daniel.lee@mariadb.com
 | |
| # -------------------------------------------------------------- #
 | |
| #
 | |
| --source ../include/have_columnstore.inc
 | |
| #
 | |
| USE tpch1;
 | |
| #
 | |
| --disable_warnings
 | |
| drop table if exists `football_teams`;
 | |
| --enable_warnings
 | |
| 
 | |
| CREATE TABLE `football_teams` (
 | |
| `num` int(11) DEFAULT NULL,
 | |
| `name` varchar(32) DEFAULT NULL,
 | |
| `roster_size` int(11) DEFAULT NULL
 | |
| ) ENGINE=Columnstore;
 | |
| 
 | |
| insert into football_teams VALUES (1,'Green Bay',53);
 | |
| insert into football_teams VALUES (2,'Chicago',53);
 | |
| insert into football_teams VALUES (3,'Detroit',53);
 | |
| insert into football_teams VALUES (4,'Minnesota',53);
 | |
| 
 | |
| select * from (select distinct num from football_teams order by num limit 3) a;
 | |
| 
 | |
| --disable_warnings
 | |
| drop table football_teams;
 | |
| --enable_warnings
 | |
| #
 | |
| 
 |