You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-22 20:42:36 +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>
62 lines
1.4 KiB
Plaintext
62 lines
1.4 KiB
Plaintext
USE tpch1;
|
|
drop table if exists mcol1246a;
|
|
Warnings:
|
|
Note 1051 Unknown table 'tpch1.mcol1246a'
|
|
drop table if exists mcol1246b;
|
|
Warnings:
|
|
Note 1051 Unknown table 'tpch1.mcol1246b'
|
|
drop table if exists mcol1246c;
|
|
Warnings:
|
|
Note 1051 Unknown table 'tpch1.mcol1246c'
|
|
create table mcol1246a (a int, b varchar(7)) engine=columnstore;
|
|
create table mcol1246b (a int, b varchar(20)) engine=columnstore;
|
|
create table mcol1246c (a int, b text) engine=columnstore;
|
|
insert into mcol1246a values (1, 'ABC '), (2, 'ABC '), (3, 'ABC');
|
|
insert into mcol1246b values (1, 'ABC '), (2, 'ABC '), (3, 'ABC');
|
|
insert into mcol1246c values (1, 'ABC '), (2, 'ABC '), (3, 'ABC');
|
|
select * from mcol1246a where b = 'ABC';
|
|
a b
|
|
1 ABC
|
|
3 ABC
|
|
select * from mcol1246b where b = 'ABC';
|
|
a b
|
|
1 ABC
|
|
3 ABC
|
|
select * from mcol1246c where b = 'ABC';
|
|
a b
|
|
1 ABC
|
|
3 ABC
|
|
select * from mcol1246a where b = 'ABC ';
|
|
a b
|
|
1 ABC
|
|
3 ABC
|
|
select * from mcol1246b where b = 'ABC ';
|
|
a b
|
|
1 ABC
|
|
3 ABC
|
|
select * from mcol1246c where b = 'ABC ';
|
|
a b
|
|
1 ABC
|
|
3 ABC
|
|
select * from mcol1246a where b = 'ABC ';
|
|
a b
|
|
2 ABC
|
|
select * from mcol1246b where b = 'ABC ';
|
|
a b
|
|
2 ABC
|
|
select * from mcol1246c where b = 'ABC ';
|
|
a b
|
|
2 ABC
|
|
select * from mcol1246a where b LIKE 'ABC';
|
|
a b
|
|
3 ABC
|
|
select * from mcol1246b where b LIKE 'ABC';
|
|
a b
|
|
3 ABC
|
|
select * from mcol1246c where b LIKE 'ABC';
|
|
a b
|
|
3 ABC
|
|
drop table mcol1246a;
|
|
drop table mcol1246b;
|
|
drop table mcol1246c;
|