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 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			481 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			481 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
USE tpch1;
 | 
						|
select calshowpartitions('tpch1','dtypes','c2') into @x;
 | 
						|
select substr(@x, length(@x)-6, 10);
 | 
						|
substr(@x, length(@x)-6, 10)
 | 
						|
Enabled
 | 
						|
drop table if exists bug4594;
 | 
						|
create table if not exists bug4594(c1 char(5))engine=columnstore;
 | 
						|
insert into bug4594 values ('abc'), ('def');
 | 
						|
select * from bug4594;
 | 
						|
c1
 | 
						|
abc
 | 
						|
def
 | 
						|
select calshowpartitionsbyvalue('bug4594', 'c1', 'aa', 'zz') into @y;
 | 
						|
select substr(@y, length(@y)-6, 10);
 | 
						|
substr(@y, length(@y)-6, 10)
 | 
						|
Enabled
 | 
						|
drop table bug4594;
 |