You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-10-30 07:25:34 +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>
		
			
				
	
	
		
			30 lines
		
	
	
		
			717 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			717 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| USE tpch1;
 | |
| drop table if exists bug4543;
 | |
| create table bug4543 (
 | |
| dart_ad_id int, 
 | |
| hsa_order_id int, 
 | |
| date_stamp int,
 | |
| adjusted_imp int
 | |
| ) engine=columnstore;
 | |
| insert into bug4543 (select s_suppkey, s_suppkey, s_suppkey, s_suppkey from supplier);
 | |
| select count(hsa_order_id) from bug4543;
 | |
| count(hsa_order_id)
 | |
| 10000
 | |
| select count(date_stamp) from bug4543;
 | |
| count(date_stamp)
 | |
| 10000
 | |
| select count(adjusted_imp) from bug4543;
 | |
| count(adjusted_imp)
 | |
| 10000
 | |
| select date_stamp, sum(adjusted_imp)
 | |
| from bug4543
 | |
| where date_stamp>=20000
 | |
| and hsa_order_id>=3 and dart_ad_id=3
 | |
| group by date_stamp
 | |
| order by date_stamp;
 | |
| date_stamp	sum(adjusted_imp)
 | |
| select count(*) from bug4543 where dart_ad_id >= 1;
 | |
| count(*)
 | |
| 10000
 | |
| drop table if exists bug4543;
 |