1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Dlee mtr restructure (#2494)

* 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>
This commit is contained in:
Daniel Lee
2022-08-09 13:20:56 -05:00
committed by GitHub
parent 8b15e2f6a4
commit 4c9d6e39ac
6839 changed files with 10542409 additions and 77 deletions

View File

@ -0,0 +1,35 @@
USE tpch1;
select CASE WHEN NULL IS NOT NULL THEN r_regionkey='10' ELSE ''='' END from region;
CASE WHEN NULL IS NOT NULL THEN r_regionkey='10' ELSE ''='' END
1
1
1
1
1
select case r_regionkey=1 when 0 then "=1" else "<>1" end from region;
case r_regionkey=1 when 0 then "=1" else "<>1" end
=1
<>1
=1
=1
=1
select * from region where case when null is null then r_regionkey else r_regionkey > 2 end = 0;
r_regionkey r_name r_comment
0 AFRICA lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
select * from region where case r_regionkey when r_regionkey = 1 then 'b' when r_regionkey=2 then "a" end > 'a';
r_regionkey r_name r_comment
0 AFRICA lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 AMERICA hs use ironic, even requests. s
select * from region where case r_regionkey = 1 when 1 then 'a' when r_regionkey=0 then "b" else 'else' end > 'a';
r_regionkey r_name r_comment
0 AFRICA lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
2 ASIA ges. thinly even pinto beans ca
3 EUROPE ly final courts cajole furiously final excuse
4 MIDDLE EAST uickly special accounts cajole carefully blithely close requests. carefully final asymptotes haggle furiousl
select case r_regionkey when r_regionkey = 1 then '=1' when r_regionkey=2 then "=2" > 'a' end alias from region;
alias
=1
=1
NULL
NULL
NULL