You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-11-03 17:13:17 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			846 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			846 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# -------------------------------------------------------------- #
 | 
						|
# Test case migrated from regression test suite: bug3274.sql
 | 
						|
#
 | 
						|
# Author: Daniel Lee, daniel.lee@mariadb.com
 | 
						|
# -------------------------------------------------------------- #
 | 
						|
#
 | 
						|
--source ../include/have_columnstore.inc
 | 
						|
--source ../include/detect_maxscale.inc
 | 
						|
#
 | 
						|
USE tpch1;
 | 
						|
#
 | 
						|
--disable_warnings
 | 
						|
drop table if exists bug3274;
 | 
						|
--enable_warnings
 | 
						|
 | 
						|
create table bug3274(d2 decimal(4,2), f float);
 | 
						|
insert into bug3274 values (43.34, 43.345), (13.54, 13.545);
 | 
						|
select d2, count(*) from bug3274 group by 1 order by 1;
 | 
						|
select f, count(*) from bug3274 group by 1 order by 1;
 | 
						|
select * from (select d2, count(*) from bug3274 group by 1 order by 1) a;
 | 
						|
select * from (select f, count(*) from bug3274 group by 1 order by 1) a;
 | 
						|
 | 
						|
--disable_warnings
 | 
						|
drop table if exists bug3274;
 | 
						|
--enable_warnings
 | 
						|
#
 | 
						|
 |